gnu: Add rust-same-file.

* gnu/packages/crates-io.scm (rust-same-file): New variable.
This commit is contained in:
Efraim Flashner 2019-08-28 16:21:33 +03:00
parent b3038b3826
commit 2484845019
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1138,6 +1138,30 @@ (define-public rust-safemem
(license (list license:asl2.0
license:expat))))
(define-public rust-same-file
(package
(name "rust-same-file")
(version "1.0.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "same-file" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"08a4zy10pjindf2rah320s6shgswk13mqw7s61m8i1y1xpf8spjq"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-winapi-util" ,rust-winapi-util))))
(home-page "https://github.com/BurntSushi/same-file")
(synopsis "Determine whether two file paths point to the same file")
(description
"This package provides a simple crate for determining whether two file
paths point to the same file.")
(license (list license:unlicense
license:expat))))
(define-public rust-scoped-tls
(package
(name "rust-scoped-tls")