diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-06-10 23:18:29 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-06-10 23:18:29 +0300 |
commit | 4c9e9f13c0e028308613b5a5b22e90eb0241a522 (patch) | |
tree | 79f9967735efec519df6e3e849ae7a3ae9012ede | |
parent | 47545798fbb04a0c717d9b6c9fc9f0ca9f9c17c2 (diff) | |
download | guix-4c9e9f13c0e028308613b5a5b22e90eb0241a522.tar.gz |
gnu: Add rust-gettext-rs-0.7.
* gnu/packages/crates-io.scm (rust-gettext-rs-0.7): New variable. (rust-gettext-rs-0.5): Inherit from rust-gettext-rs-0.7.
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 036ab05e19..b9ff55a349 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17181,10 +17181,10 @@ retrieving random data from system source.") getters and setters on fields.") (license license:expat))) -(define-public rust-gettext-rs-0.5 +(define-public rust-gettext-rs-0.7 (package (name "rust-gettext-rs") - (version "0.5.0") + (version "0.7.0") (source (origin (method url-fetch) @@ -17193,12 +17193,14 @@ getters and setters on fields.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1qc9a63i54b9ad3jx951hn7xb6xf76c9f3hmi2cdy2m7rhczm58v")))) + "0r7kahqcjrkm83d3gzzkn83fnw2bnqj2ank5z6hsm66izalai7p4")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-gettext-sys" ,rust-gettext-sys-0.19) - ("rust-locale-config" ,rust-locale-config-0.3)))) + (("rust-gettext-sys" ,rust-gettext-sys-0.21) + ("rust-locale-config" ,rust-locale-config-0.3)) + #:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static-1)))) (inputs `(("gettext" ,gettext-minimal))) (home-page "https://github.com/Koka/gettext-rs") @@ -17206,6 +17208,25 @@ getters and setters on fields.") (description "This package provides GNU Gettext FFI bindings for Rust.") (license license:expat))) +(define-public rust-gettext-rs-0.5 + (package + (inherit rust-gettext-rs-0.7) + (name "rust-gettext-rs") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gettext-rs" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1qc9a63i54b9ad3jx951hn7xb6xf76c9f3hmi2cdy2m7rhczm58v")))) + (arguments + `(#:cargo-inputs + (("rust-gettext-sys" ,rust-gettext-sys-0.19) + ("rust-locale-config" ,rust-locale-config-0.3)))))) + (define-public rust-gettext-rs-0.4 (package (inherit rust-gettext-rs-0.5) |