From 551e39ccb1a4a7449aee08fb178a3929e7e47406 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Sun, 7 Nov 2021 14:15:25 +0000 Subject: gnu: Add rust-snake-case-0.3. * gnu/packages/crates-io.scm (rust-snake-case-0.3): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d79bc8676d..b583e8b8aa 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -47844,6 +47844,29 @@ (define-public rust-snailquote-0.3 escaped text to recover the original string.") (license license:gpl3))) +(define-public rust-snake-case-0.3 + (package + (name "rust-snake-case") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "snake-case" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v4f132rk9wxiw8hb3kgnixirzr8kbfhg2lgsf4b85vbg02a0jfn")))) + (build-system cargo-build-system) + (arguments + `(#:rust ,rust-1.52 ; fix for E0658 + #:cargo-inputs (("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/emilk/snake_case") + (synopsis "String-like type that only contains non-empty snake_case") + (description + "This package provides a String-like type that can only contain valid +non-empty snake_case.") + (license license:expat))) + (define-public rust-snap-1 (package (name "rust-snap") -- cgit v1.2.3