gnu: Add rust-pathdiff-0.2.

* gnu/packages/crates-io.scm (rust-pathdiff-0.2): New variable.
(rust-pathdiff-0.1): Inherit from above.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
phodina 2021-09-04 07:35:14 +00:00 committed by Nicolas Goaziou
parent 52bef345ce
commit ccfc03b17e
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -32839,8 +32839,31 @@ (define-public rust-path-clean-0.1
path.Clean.")
(license (list license:expat license:asl2.0))))
(define-public rust-pathdiff-0.2
(package
(name "rust-pathdiff")
(version "0.2.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "pathdiff" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0d2aqgrqhdn5kxlnd5dxv7d6pgsgf92r6r9gqm6bdh0mvsrk0xl7"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/Manishearth/pathdiff")
(synopsis "Library for diffing paths to obtain relative paths")
(description
"Use diff_paths to construct a relative path from a provided base
directory path to the provided path.")
(license (list license:asl2.0 license:expat))))
(define-public rust-pathdiff-0.1
(package
(inherit rust-pathdiff-0.2)
(name "rust-pathdiff")
(version "0.1.0")
(source
@ -32851,14 +32874,7 @@ (define-public rust-pathdiff-0.1
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0cfg3isnx6mf3wbi7rsg4nmvywby40sbcs589n20fgi09l4p1gx3"))))
(build-system cargo-build-system)
(home-page "https://github.com/Manishearth/pathdiff")
(synopsis "Library for diffing paths to obtain relative paths")
(description
"Use diff_paths to construct a relative path from a provided base
directory path to the provided path.")
(license (list license:asl2.0 license:expat))))
"0cfg3isnx6mf3wbi7rsg4nmvywby40sbcs589n20fgi09l4p1gx3"))))))
(define-public rust-pbkdf2-0.4
(package