aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-28 10:58:38 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:44:56 +0300
commit126c19fc64e29b8dfec53afd0ab399fbd8d1edc3 (patch)
tree64a9ee6b4889a524a89119f5a2c3f8f27bae75b0
parentef506b3f0358aadf4d3a5383a7fbdbe8e15feaf6 (diff)
downloadguix-126c19fc64e29b8dfec53afd0ab399fbd8d1edc3.tar.gz
guix-126c19fc64e29b8dfec53afd0ab399fbd8d1edc3.zip
gnu: Add rust-open-4.
* gnu/packages/crates-io.scm (rust-open-4): New variable. (rust-open-3): Inherit from rust-open-4. Change-Id: I5f1c166937fecb6531bfe3d8ab193d067d9fe549
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 22 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ff98763aec..f8c52edd4b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47152,21 +47152,22 @@ contents.")
(base32
"02942l2gc7w5r4js7i9063x99szic5mzzk1055j83v4diqpbpxck"))))))
-(define-public rust-open-3
+(define-public rust-open-4
(package
(name "rust-open")
- (version "3.2.0")
+ (version "4.2.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "open" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1y3nhpgh444ns5vqy87jbcnlryqmw62akyi85k2a0m3akq1w0y10"))))
+ (base32 "04kw6xmsjm0wdqidjndhpzl79iksyrhwyik32z28wjjygq63q21s"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-pathdiff" ,rust-pathdiff-0.2)
- ("rust-windows-sys" ,rust-windows-sys-0.42))))
+ `(#:cargo-inputs (("rust-is-wsl" ,rust-is-wsl-0.4)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pathdiff" ,rust-pathdiff-0.2))))
(home-page "https://github.com/Byron/open-rs")
(synopsis "Open a path or URL using the program configured on the system")
(description
@@ -47174,6 +47175,22 @@ contents.")
the system.")
(license license:expat)))
+(define-public rust-open-3
+ (package
+ (inherit rust-open-4)
+ (name "rust-open")
+ (version "3.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "open" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1y3nhpgh444ns5vqy87jbcnlryqmw62akyi85k2a0m3akq1w0y10"))))
+ (arguments
+ `(#:cargo-inputs (("rust-pathdiff" ,rust-pathdiff-0.2)
+ ("rust-windows-sys" ,rust-windows-sys-0.42))))))
+
(define-public rust-open-2
(package
(inherit rust-open-3)