mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: Add rust-resolv-conf.
* gnu/packages/crates-io.scm (rust-resolv-conf): New variable.
This commit is contained in:
parent
f1e81de926
commit
5913e06a75
1 changed files with 25 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue