gnu: Add rust-sysctl-0.4.

* gnu/packages/crates-io.scm (rust-sysctl-0.4): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
John Soo 2019-12-19 10:15:05 -08:00 committed by Efraim Flashner
parent 372719b517
commit 0cc23d8fa3
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -8813,6 +8813,34 @@ (define-public rust-synstructure-test-traits-0.1
(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)
("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")