aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-16 20:06:52 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:41:44 +0530
commit0da9cb0a40a89c983723fe05ec650e1320c6ad17 (patch)
tree5a682f374085f75ee3be0b405a37c5c978b58280
parentf274658c0ede9d8332f7b01d7b6d8d2d2840adff (diff)
downloadguix-0da9cb0a40a89c983723fe05ec650e1320c6ad17.tar
guix-0da9cb0a40a89c983723fe05ec650e1320c6ad17.tar.gz
gnu: Add rust-inflector-0.11.
* gnu/packages/crates-io.scm (rust-inflector-0.11): New variable.
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5eb6d6b0b8..e7765fe727 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10583,6 +10583,31 @@ or numerical index. A corresponding hash set type is also provided.")
(description "This package provides DEFLATE decoding.")
(license license:expat)))
+(define-public rust-inflector-0.11
+ (package
+ (name "rust-inflector")
+ (version "0.11.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "Inflector" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1lqmcni21ifzyq41fhz6k1j2b23cmsx469s4g4sf01l78miqqhzy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-regex" ,rust-regex-1))))
+ (home-page "https://github.com/whatisinternet/inflector")
+ (synopsis "String based inflections for Rust")
+ (description "This package adds String based inflections for Rust. Snake,
+kebab, camel, sentence, class, title and table cases as well as ordinalize,
+deordinalize, demodulize, foreign key, and pluralize/singularize are supported
+as both traits and pure functions acting on String types.")
+ (license license:bsd-2)))
+
(define-public rust-inotify-0.7
(package
(name "rust-inotify")