diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-02-08 20:55:34 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-08 21:11:28 +0200 |
commit | 751d6a8b8a0a24148477127e7492c02ac474bce5 (patch) | |
tree | 6ea15a7b62344dde4e814d902c6e6df69ada1688 /gnu/packages | |
parent | 5b37b6d9d0e0818b65bf64303709aa5d1ecad70a (diff) | |
download | guix-751d6a8b8a0a24148477127e7492c02ac474bce5.tar.gz guix-751d6a8b8a0a24148477127e7492c02ac474bce5.zip |
gnu: Add rust-sysctl-0.1.
* gnu/packages/crates-io.scm (rust-sysctl-0.1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 314effa492..2e04ef1517 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11621,6 +11621,27 @@ and Jaro-Winkler.") "Simplified interface to libc::sysctl.") (license license:expat))) +(define-public rust-sysctl-0.1 + (package + (inherit rust-sysctl-0.4) + (name "rust-sysctl") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sysctl" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10wxlk4nkzlxp4fg435jmdmfwl4hy0y4w2rcsgs634lvbp8pgksb")))) + (arguments + `(#:skip-build? #t ; Unsupported on Linux. + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1.3) + ("rust-errno" ,rust-errno-0.2) + ("rust-libc" ,rust-libc-0.2)))))) + (define-public rust-tar-0.4 (package (name "rust-tar") |