From 0b300616663a77484a6b8c5e7912e9df7ddfc709 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 2 Mar 2021 14:19:56 +0100 Subject: gnu: Add rust-sys-info-0.7. * gnu/packages/crates-io.scm (rust-sys-info-0.7): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu') 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") -- cgit v1.2.3