diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-05-22 17:01:22 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:37:54 +0300 |
commit | 44fff2f7aade5c43b08ab6745707a3e4bb83ba91 (patch) | |
tree | 387b9ca4e3fde729d84b035828dec04a06f6ac4b | |
parent | 5272fb23f72e1c889b97cbe306b45e397423370e (diff) |
gnu: Add rust-normpath-1.
* gnu/packages/crates-io.scm (rust-normpath-1): New variable.
(rust-normpath-0.3): Inherit from rust-normpath-1.
-rw-r--r-- | gnu/packages/crates-io.scm | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a13e95a85a..150cc19b76 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39743,8 +39743,37 @@ with all line endings.") (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 @@ with all line endings.") (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 @@ with all line endings.") (("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 |