summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-04-03 11:59:45 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-04-03 14:07:50 +0300
commit44d44acaca19241d9cdf885eaac3225752c05efd (patch)
tree16411754f3532121aa1b5d4e32979f21d0b0fe87 /gnu/packages
parented2acb1b16bd6f4d45c17c1585f2910e6d8cc2ba (diff)
downloadguix-44d44acaca19241d9cdf885eaac3225752c05efd.tar.gz
gnu: Add rust-os-str-bytes-6.
* gnu/packages/crates-io.scm (rust-os-str-bytes-6): New variable.
(rust-os-str-bytes-4): Inherit from rust-os-str-bytes-6.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 24 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a474372d00..3aaf4f0620 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39754,22 +39754,22 @@ under its new name.")
         ("rust-nix" ,rust-nix-0.8)
         ("rust-winapi" ,rust-winapi-0.2))))))
 
-(define-public rust-os-str-bytes-4
+(define-public rust-os-str-bytes-6
   (package
     (name "rust-os-str-bytes")
-    (version "4.2.0")
+    (version "6.0.0")
     (source
       (origin
         (method url-fetch)
         (uri (crate-uri "os-str-bytes" version))
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
-         (base32 "16d70qzd2g18i28i6znjcpck0r9hjd5gz5qcr1cl2l9s6d1sknmd"))))
+         (base32 "0r5z5xds2wzzqlqjaw96dpjsz5nqyzc1rflm4mh09aa32qyl88lf"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-memchr" ,rust-memchr-2)
-        ("rust-print-bytes" ,rust-print-bytes-0.4)
+        ("rust-print-bytes" ,rust-print-bytes-0.5)
         ("rust-uniquote" ,rust-uniquote-3))
        #:cargo-development-inputs
        (("rust-getrandom" ,rust-getrandom-0.2))))
@@ -39781,6 +39781,26 @@ under its new name.")
 platform-native strings.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-os-str-bytes-4
+  (package
+    (inherit rust-os-str-bytes-6)
+    (name "rust-os-str-bytes")
+    (version "4.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "os-str-bytes" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32 "16d70qzd2g18i28i6znjcpck0r9hjd5gz5qcr1cl2l9s6d1sknmd"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-memchr" ,rust-memchr-2)
+        ("rust-print-bytes" ,rust-print-bytes-0.4)
+        ("rust-uniquote" ,rust-uniquote-3))
+       #:cargo-development-inputs
+       (("rust-getrandom" ,rust-getrandom-0.2))))))
+
 (define-public rust-os-str-bytes-2
   (package
     (inherit rust-os-str-bytes-4)