diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-31 14:22:15 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:45:23 +0300 |
commit | d88bb3e888cf8924a8571f6feb1ff5d4023f0577 (patch) | |
tree | 69fd82e2a6226607dcb43e2198f5184bce0e4c54 /gnu/packages | |
parent | a5a8d36b30e54425231dac0f938bbd4d492e8f0e (diff) | |
download | guix-d88bb3e888cf8924a8571f6feb1ff5d4023f0577.tar guix-d88bb3e888cf8924a8571f6feb1ff5d4023f0577.tar.gz |
gnu: Add rust-sys-locale-0.3.
* gnu/packages/crates-io.scm (rust-sys-locale-0.3): New variable.
(rust-sys-locale-0.1): Inherit from rust-sys-locale-0.3.
Change-Id: I3b91b0438b12a2c17649c4f828846e6116404ef0
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 39 |
1 files changed, 29 insertions, 10 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7ca8b7d0e1..6aa040e59f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -75172,26 +75172,25 @@ intelligence using Sublime Text's grammars.") "This Rust crate gathers system information.") (license license:expat))) -(define-public rust-sys-locale-0.1 +(define-public rust-sys-locale-0.3 (package (name "rust-sys-locale") - (version "0.1.0") + (version "0.3.1") (source (origin (method url-fetch) (uri (crate-uri "sys-locale" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1pv3hl604vnbk7fi5s47zmb555znjj7ddhmgbzvd8c7sb6xrxy4i")))) + (base32 "1c29m5z9bbg4ix5vy25jma83xlakvmkhs9rxy1qwsv6dkqiwy0g8")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-cstr-core" ,rust-cstr-core-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-winapi" ,rust-winapi-0.3)))) + `(#:cargo-inputs (("rust-js-sys" ,rust-js-sys-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-web-sys" ,rust-web-sys-0.3)) + #:cargo-development-inputs + (("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) (home-page "https://github.com/1Password/sys-locale") (synopsis "Lightweight library to obtain the active system locale") (description @@ -75200,6 +75199,26 @@ system or application with the relevant platform APIs. The library is also no_std compatible by default, only relying on alloc.") (license (list license:expat license:asl2.0)))) +(define-public rust-sys-locale-0.1 + (package + (inherit rust-sys-locale-0.3) + (name "rust-sys-locale") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sys-locale" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pv3hl604vnbk7fi5s47zmb555znjj7ddhmgbzvd8c7sb6xrxy4i")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-cstr-core" ,rust-cstr-core-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-web-sys" ,rust-web-sys-0.3) + ("rust-winapi" ,rust-winapi-0.3)))))) + (define-public rust-syscallz-0.17 (package (name "rust-syscallz") |