guix-patches
[Top][All Lists]
Advanced

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

[bug#52149] [PATCH 23/26] gnu: Add rust-opener-0.5.


From: (unmatched-parenthesis
Subject: [bug#52149] [PATCH 23/26] gnu: Add rust-opener-0.5.
Date: Mon, 27 Dec 2021 16:51:00 +0000

* gnu/packages/crates-io.scm (rust-opener-0.5): New variable.
* gnu/packages/crates-io.scm (rust-opener-0.4): Inherit from rust-opener-0.5.
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++------
 1 file changed, 26 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 66300c32d8..0467aa874b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34441,29 +34441,49 @@ (define-public rust-open-1
 the system.")
     (license license:expat)))
 
-(define-public rust-opener-0.4
+(define-public rust-opener-0.5
   (package
     (name "rust-opener")
-    (version "0.4.1")
+    (version "0.5.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "opener" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append "-" version ".tar.gz"))
        (sha256
         (base32
-         "1bpknqvhqkalhmq8n2m97apc0r3y194ppybl1qxay34xr83p848k"))))
+         "0lkrn4fv1h4m8gmp7ll6x7vjvb6kls2ngwa5cgsh2ix5fb6yp8sf"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-winapi" ,rust-winapi-0.3))))
+       (("rust-bstr" ,rust-bstr-0.2)
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs
+       (("rust-version-sync" ,rust-version-sync-0.9))))
     (home-page "https://github.com/Seeker14491/opener";)
     (synopsis "Open a file or link using the system default program")
     (description "This crate provides the ability to open a file or link with
 the default program configured on the system.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-opener-0.4
+  (package
+    (inherit rust-opener-0.5)
+    (name "rust-opener")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "opener" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1bpknqvhqkalhmq8n2m97apc0r3y194ppybl1qxay34xr83p848k"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-winapi" ,rust-winapi-0.3))))))
+
 (define-public rust-openssl-0.10
   (package
     (name "rust-openssl")
-- 
2.34.0






reply via email to

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