gnu: Add rust-sysctl-0.1.

* gnu/packages/crates-io.scm (rust-sysctl-0.1): New variable.
This commit is contained in:
Efraim Flashner 2020-02-08 20:55:34 +02:00
parent 5b37b6d9d0
commit 751d6a8b8a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -11621,6 +11621,27 @@ (define-public rust-sysctl-0.4
"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")