gnu: Add rust-resolv-conf.

* gnu/packages/crates-io.scm (rust-resolv-conf): New variable.
This commit is contained in:
Efraim Flashner 2019-08-29 13:04:34 +03:00
parent f1e81de926
commit 5913e06a75
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1200,6 +1200,31 @@ (define-public rust-remove-dir-all
(license (list license:asl2.0
license:expat))))
(define-public rust-resolv-conf
(package
(name "rust-resolv-conf")
(version "0.6.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "resolv-conf" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1jvdsmksdf6yiipm3aqahyv8n1cjd7wqc8sa0p0gzsax3fmb8qxj"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-quick-error" ,rust-quick-error)
("rust-hostname" ,rust-hostname))
#:cargo-test-flags '("--release" "--lib" "--examples"))) ; doc tests fail
(home-page "https://github.com/tailhook/resolv-conf")
(synopsis "/etc/resolv.conf parser")
(description
"An /etc/resolv.conf parser crate for Rust.")
(license (list license:asl2.0
license:expat))))
(define-public rust-rustc-std-workspace-core
(package
(name "rust-rustc-std-workspace-core")