summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-02-08 20:55:34 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-02-08 21:11:28 +0200
commit751d6a8b8a0a24148477127e7492c02ac474bce5 (patch)
tree6ea15a7b62344dde4e814d902c6e6df69ada1688
parent5b37b6d9d0e0818b65bf64303709aa5d1ecad70a (diff)
gnu: Add rust-sysctl-0.1.
* gnu/packages/crates-io.scm (rust-sysctl-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm21
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")