guix-commits
[Top][All Lists]
Advanced

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

21/111: gnu: Add rust-opener-0.7.


From: guix-commits
Subject: 21/111: gnu: Add rust-opener-0.7.
Date: Thu, 21 Nov 2024 08:33:21 -0500 (EST)

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

commit cc4de7f54c870c6737ea8cc19cf1f2b4911bc114
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Nov 20 20:17:31 2024 +0200

    gnu: Add rust-opener-0.7.
    
    * gnu/packages/crates-io.scm (rust-opener-0.7): New variable.
    (rust-opener-0.6): Inherit from rust-opener-0.7.
    
    Change-Id: I6d0b0e598cca63826dd96bc06f13c6d7bd3bfd28
---
 gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 306c5414d9..023dcc6727 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51585,8 +51585,33 @@ the system.")
        (("rust-pathdiff" ,rust-pathdiff-0.2)
         ("rust-winapi" ,rust-winapi-0.3))))))
 
+(define-public rust-opener-0.7
+  (package
+    (name "rust-opener")
+    (version "0.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "opener" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "10bn0m6pfv9mvv9lky0l48fb6vflx9pkg8sir1aa73gh9mg2x0fh"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1)
+                       ("rust-dbus" ,rust-dbus-0.9)
+                       ("rust-normpath" ,rust-normpath-1)
+                       ("rust-url" ,rust-url-2)
+                       ("rust-windows-sys" ,rust-windows-sys-0.59))))
+    (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.6
   (package
+    (inherit rust-opener-0.7)
     (name "rust-opener")
     (version "0.6.1")
     (source
@@ -51601,7 +51626,6 @@ the system.")
                  ;; Don't demand vendored dbus.
                  (substitute* "Cargo.toml"
                    ((".*vendored.*") ""))))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bstr" ,rust-bstr-1)
@@ -51610,12 +51634,7 @@ the system.")
         ("rust-url" ,rust-url-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))))
+       (("rust-version-sync" ,rust-version-sync-0.9))))))
 
 (define-public rust-opener-0.5
   (package



reply via email to

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