Skip to content
Snippets Groups Projects
Unverified Commit cef7de6f authored by Efraim Flashner's avatar Efraim Flashner
Browse files

gnu: Add rust-glob-0.2.

* gnu/packages/crates-io.scm (rust-glob-0.2): New variable.
parent b79eab74
No related branches found
No related tags found
No related merge requests found
...@@ -963,6 +963,31 @@ (define-public rust-glob ...@@ -963,6 +963,31 @@ (define-public rust-glob
(license (list license:asl2.0 (license (list license:asl2.0
license:expat)))) license:expat))))
(define-public rust-glob-0.2
(package
(inherit rust-glob)
(name "rust-glob")
(version "0.2.11")
(source
(origin
(method url-fetch)
(uri (crate-uri "glob" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1ysvi72slkw784fcsymgj4308c3y03gwjjzqxp80xdjnkbh8vqcb"))))
(arguments
`(#:cargo-development-inputs
(("rust-tempdir" ,rust-tempdir))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-tests
;; This test assumes /root exists but is unreadable by the user.
(lambda _
(substitute* "src/lib.rs"
(("cfg\\(unix") "cfg(windows"))
#t)))))))
(define-public rust-heapsize (define-public rust-heapsize
(package (package
(name "rust-heapsize") (name "rust-heapsize")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment