gnu: Add rust-sys-locale-0.1.

* gnu/packages/crates-io.scm (rust-sys-locale-0.1): New variable.
This commit is contained in:
Nicolas Goaziou 2021-06-15 12:35:12 +02:00
parent cce229546c
commit 01f3bdb765
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -44130,6 +44130,34 @@ (define-public rust-sys-info-0.7
(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")