guix-commits
[Top][All Lists]
Advanced

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

173/311: gnu: Add rust-open-3.


From: guix-commits
Subject: 173/311: gnu: Add rust-open-3.
Date: Sat, 28 Oct 2023 16:38:56 -0400 (EDT)

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

commit f5aacc68589b669abc74ac28414a7f618ad803cb
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Oct 25 09:55:25 2023 +0300

    gnu: Add rust-open-3.
    
    * gnu/packages/crates-io.scm (rust-open-3): New variable.
    (rust-open-2): Inherit from rust-open-3.
    
    Change-Id: I03bcb01e24960b97fa6b8345805c44ac432fa728
---
 gnu/packages/crates-io.scm | 30 +++++++++++++++++++++++-------
 1 file changed, 23 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 13401c2fae..3de8f8e5a2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49012,23 +49012,21 @@ contents.")
         (base32
          "02942l2gc7w5r4js7i9063x99szic5mzzk1055j83v4diqpbpxck"))))))
 
-(define-public rust-open-2
+(define-public rust-open-3
   (package
     (name "rust-open")
-    (version "2.0.2")
+    (version "3.2.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "open" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1dq9c6dgq7iv5kvqfk8gvkfq34j5pdinfcs1hbdd4x6i62vf8vhp"))))
+        (base32 "1y3nhpgh444ns5vqy87jbcnlryqmw62akyi85k2a0m3akq1w0y10"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-pathdiff" ,rust-pathdiff-0.2)
-        ("rust-winapi" ,rust-winapi-0.3))))
+     `(#:cargo-inputs (("rust-pathdiff" ,rust-pathdiff-0.2)
+                       ("rust-windows-sys" ,rust-windows-sys-0.42))))
     (home-page "https://github.com/Byron/open-rs";)
     (synopsis "Open a path or URL using the program configured on the system")
     (description
@@ -49036,6 +49034,24 @@ contents.")
 the system.")
     (license license:expat)))
 
+(define-public rust-open-2
+  (package
+    (inherit rust-open-3)
+    (name "rust-open")
+    (version "2.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "open" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1dq9c6dgq7iv5kvqfk8gvkfq34j5pdinfcs1hbdd4x6i62vf8vhp"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-pathdiff" ,rust-pathdiff-0.2)
+        ("rust-winapi" ,rust-winapi-0.3))))))
+
 (define-public rust-open-1
   (package
     (inherit rust-open-2)



reply via email to

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