From 0da9cb0a40a89c983723fe05ec650e1320c6ad17 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 16 Sep 2020 20:06:52 +0530 Subject: gnu: Add rust-inflector-0.11. * gnu/packages/crates-io.scm (rust-inflector-0.11): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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 @@ (define-public rust-inflate-0.4 (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") -- cgit v1.2.3