aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2021-11-07 14:15:25 +0000
committerEfraim Flashner <efraim@flashner.co.il>2021-11-07 22:28:41 +0200
commit551e39ccb1a4a7449aee08fb178a3929e7e47406 (patch)
tree3ee26ed8d1aec8ba4c1e2ac780dbc46d344ea8c4
parentcd968c83aa4911f41e5d25c753dcea99098a26ce (diff)
downloadguix-551e39ccb1a4a7449aee08fb178a3929e7e47406.tar
guix-551e39ccb1a4a7449aee08fb178a3929e7e47406.tar.gz
gnu: Add rust-snake-case-0.3.
* gnu/packages/crates-io.scm (rust-snake-case-0.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
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 @@ More importantly, this library also provides the ability to un-escape a given
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")