From d88bb3e888cf8924a8571f6feb1ff5d4023f0577 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 31 Mar 2024 14:22:15 +0300 Subject: 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 --- gnu/packages/crates-io.scm | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) (limited to 'gnu') 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 @@ (define-public rust-sys-info-0.9 "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 @@ (define-public rust-sys-locale-0.1 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") -- cgit v1.2.3