gnu: Add rust-normpath-1.

* gnu/packages/crates-io.scm (rust-normpath-1): New variable.
(rust-normpath-0.3): Inherit from rust-normpath-1.
This commit is contained in:
Efraim Flashner 2023-05-22 17:01:22 +03:00
parent 5272fb23f7
commit 44fff2f7aa
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -39743,8 +39743,37 @@ (define-public rust-normalize-line-endings-0.2
(base32
"1a1knz9j1w5a1pl2q6whmjphm3z6p64r5njnam7syp5rx8wil2if"))))))
(define-public rust-normpath-1
(package
(name "rust-normpath")
(version "1.1.1")
(source (origin
(method url-fetch)
(uri (crate-uri "normpath" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1xcpznc827hwn3rjrckyv574ddmz68r0gpvfbmpih9ijd45ccq7c"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-print-bytes" ,rust-print-bytes-1)
("rust-serde" ,rust-serde-1)
("rust-uniquote" ,rust-uniquote-3)
("rust-windows-sys" ,rust-windows-sys-0.48))
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1)
("rust-libc" ,rust-libc-0.2)
("rust-tempfile" ,rust-tempfile-3)
("rust-windows-sys" ,rust-windows-sys-0.48))))
(home-page "https://github.com/dylni/normpath")
(synopsis "More reliable path manipulation")
(description "This package provides more reliable path manipulation in rust.")
(license (list license:expat license:asl2.0))))
(define-public rust-normpath-0.3
(package
(inherit rust-normpath-1)
(name "rust-normpath")
(version "0.3.2")
(source (origin
@ -39753,7 +39782,6 @@ (define-public rust-normpath-0.3
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1bxwffmqqhic8rfb711009w9hsprrpm5jca2q0y8igqgrglzbah4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-print-bytes" ,rust-print-bytes-0.4)
@ -39763,11 +39791,7 @@ (define-public rust-normpath-0.3
(("rust-bincode" ,rust-bincode-1)
("rust-libc" ,rust-libc-0.2)
("rust-rustversion" ,rust-rustversion-1)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/dylni/normpath")
(synopsis "More reliable path manipulation")
(description "This package provides more reliable path manipulation in rust.")
(license (list license:expat license:asl2.0))))
("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-notify-5
(package