diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-15 12:35:12 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-16 12:47:37 +0200 |
commit | 01f3bdb765cd64532e9026e94f08f42b6f1b356c (patch) | |
tree | 960455eef47a4c99372491e84597d28698fbcb50 /gnu | |
parent | cce229546c924d25b91ad84769982a8ef1a1e0f4 (diff) | |
download | guix-01f3bdb765cd64532e9026e94f08f42b6f1b356c.tar.gz |
gnu: Add rust-sys-locale-0.1.
* gnu/packages/crates-io.scm (rust-sys-locale-0.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3436d19240..80b03d820c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -44130,6 +44130,34 @@ syntax extension expansion.") (sha256 (base32 "0facyh6hswp1i7airri8ly5kl6sv5bvkkd21vs51k2b3z22bvkz5")))))) +(define-public rust-sys-locale-0.1 + (package + (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")))) + (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)))) + (home-page "https://github.com/1Password/sys-locale") + (synopsis "Lightweight library to obtain the active system locale") + (description + "Sys-locale is small library for obtaining the current locale set for the +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-sysctl-0.4 (package (name "rust-sysctl") |