guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

31/61: gnu: Add rust-open-4.


From: guix-commits
Subject: 31/61: gnu: Add rust-open-4.
Date: Thu, 28 Mar 2024 12:01:02 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 209972f2e7e44dce769f8df866e7f457b4208b24
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 28 10:58:38 2024 +0200

    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
---
 gnu/packages/crates-io.scm | 27 ++++++++++++++++++++++-----
 1 file changed, 22 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 86bdb504f2..0df5e205ae 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46979,21 +46979,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
@@ -47001,6 +47002,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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]