summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-24 08:48:23 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:58:16 +0200
commit65283c4fb2009b00170ec2960d6d005471d5070b (patch)
tree72032008a32a16c570af1a30c242389eedc70f7f /gnu/packages/crates-io.scm
parent16e6cc041155635d09ab774b33dd00c5d6afd50e (diff)
downloadguix-65283c4fb2009b00170ec2960d6d005471d5070b.tar.gz
gnu: Add rust-opener-0.6.
* gnu/packages/crates-io.scm (rust-opener-0.6): New variable.
(rust-opener-0.5): Inherit from rust-opener-0.6.

Change-Id: Id5b7b9dd2b94df5ea5b81dc9898253acd4e6be05
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 30 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5ef93b9617..fd0280dab6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47123,21 +47123,29 @@ the system.")
        (("rust-pathdiff" ,rust-pathdiff-0.2)
         ("rust-winapi" ,rust-winapi-0.3))))))
 
-(define-public rust-opener-0.5
+(define-public rust-opener-0.6
   (package
     (name "rust-opener")
-    (version "0.5.2")
+    (version "0.6.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "opener" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "01ghahdn64lw4whj0p70vmzivrdlmca2629gplalq99pirkiag19"))))
+        (base32 "1217aqxl8srr7v0bcc174yf5apaxjmzg0j62x8kb772g2yvdqqkc"))
+       (snippet
+        #~(begin (use-modules (guix build utils))
+                 ;; Don't demand vendored dbus.
+                 (substitute* "Cargo.toml"
+                   ((".*vendored.*") ""))))))
     (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-winapi" ,rust-winapi-0.3))
        #:cargo-development-inputs
        (("rust-version-sync" ,rust-version-sync-0.9))))
@@ -47147,6 +47155,25 @@ the system.")
 the default program configured on the system.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-opener-0.5
+  (package
+    (inherit rust-opener-0.6)
+    (name "rust-opener")
+    (version "0.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "opener" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "01ghahdn64lw4whj0p70vmzivrdlmca2629gplalq99pirkiag19"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bstr" ,rust-bstr-1)
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs
+       (("rust-version-sync" ,rust-version-sync-0.9))))))
+
 (define-public rust-openpgp-cert-d-0.1
   (package
     (name "rust-openpgp-cert-d")