From eb76f00883f5ebf65f9712b6251e06594b18703d Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 19 Dec 2019 10:15:05 -0800 Subject: [PATCH 222/263] gnu: Add rust-sysctl-0.4. * gnu/packages/crates-io.scm (rust-sysctl-0.4): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e369a8ebed..071a7a57a5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9035,6 +9035,35 @@ and Jaro-Winkler.") (properties '((hidden? . #t))) (license license:expat))) +(define-public rust-sysctl-0.4 + (package + (name "rust-sysctl") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sysctl" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0p6bfjsw3v12nb2qsgm6r9klwb5qyh4w55zzmccv8r5aqb8g0085")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-byteorder" ,rust-byteorder-1.3) + ("rust-failure" ,rust-failure-0.1) + ("rust-libc" ,rust-libc-0.2.58) + ("rust-walkdir" ,rust-walkdir-2.2)))) + (home-page + "https://github.com/johalun/sysctl-rs") + (synopsis "Simplified interface to libc::sysctl") + (description + "Simplified interface to libc::sysctl.") + (license license:expat))) + (define-public rust-tar-0.4 (package (name "rust-tar") -- 2.24.1