summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-02-22 12:04:23 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:04 +0300
commit7cbf385f981d9c7ef0ff244c7a74b3a5646f4291 (patch)
tree3ff3fa4fac78cf43c7ce2a44d8d2f1e2b3055a10 /gnu
parentbdadf22c6f9c3089ed446963bb88ac12640c72b3 (diff)
downloadguix-7cbf385f981d9c7ef0ff244c7a74b3a5646f4291.tar.gz
gnu: Add rust-winreg-0.10.
* gnu/packages/crates-io.scm (rust-winreg-0.10): New variable.
(rust-winreg-0.8): Inherit from rust-winreg-0.10.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 22 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 398054b947..df033048e0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70315,17 +70315,17 @@ windows crate.")
                (base32
                 "17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz"))))))
 
-(define-public rust-winreg-0.8
+(define-public rust-winreg-0.10
   (package
     (name "rust-winreg")
-    (version "0.8.0")
+    (version "0.10.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "winreg" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1364vyx4kh170pxfg8iwlvv8xskvry53xfya0565q8qnx73gh1yi"))))
+        (base32 "17c6h02z88ijjba02bnxi5k94q5cz490nf3njh9yypf8fbig9l40"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
@@ -70339,6 +70339,25 @@ windows crate.")
      "This package provides Rust bindings to MS Windows Registry API.")
     (license license:expat)))
 
+(define-public rust-winreg-0.8
+  (package
+    (inherit rust-winreg-0.10)
+    (name "rust-winreg")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "winreg" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1364vyx4kh170pxfg8iwlvv8xskvry53xfya0565q8qnx73gh1yi"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-chrono" ,rust-chrono-0.4)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-winapi" ,rust-winapi-0.3))))))
+
 (define-public rust-winreg-0.7
   (package
     (inherit rust-winreg-0.8)