diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-03-02 14:19:56 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-03-02 17:46:03 +0100 |
commit | 0b300616663a77484a6b8c5e7912e9df7ddfc709 (patch) | |
tree | 45020a671ed6dc4fa182bf95a6d7e5ac4b941a57 | |
parent | e809925bc39b96912bdff389a6192c19705587ba (diff) | |
download | guix-0b300616663a77484a6b8c5e7912e9df7ddfc709.tar.gz |
gnu: Add rust-sys-info-0.7.
* gnu/packages/crates-io.scm (rust-sys-info-0.7): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0c444a8c21..27b4815192 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -40218,6 +40218,29 @@ syntax extension expansion.") (description "This package provides a backport of libsyntax.") (license (list license:expat license:asl2.0)))) +(define-public rust-sys-info-0.7 + (package + (name "rust-sys-info") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sys-info" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0facyh6hswp1i7airri8ly5kl6sv5bvkkd21vs51k2b3z22bvkz5")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/FillZpp/sys-info-rs") + (synopsis "Get system information in Rust") + (description + "This Rust crate gathers system information.") + (license license:expat))) + (define-public rust-sysctl-0.4 (package (name "rust-sysctl") |