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-02-22 20:18:34 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:10 +0300
commit6a5f2037cd2b1036f4fcd5f064e65665d6d318b1 (patch)
treeda1fb4c816f638b3898dda303052d8108abbce83 /gnu/packages/crates-io.scm
parentd7b92c3c69088c316520365f0b6ce3c1a513ec23 (diff)
downloadguix-6a5f2037cd2b1036f4fcd5f064e65665d6d318b1.tar.gz
gnu: Add rust-zstd-0.11.
* gnu/packages/crates-io.scm (rust-zstd-0.11): New variable.
(rust-zstd-0.9): Inherit from rust-zstd-0.11.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 23 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 331650a193..cb3bb279b8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72245,10 +72245,10 @@ implementation that works everywhere, even WASM!")
      "This package provides a library for parsing compiled zoneinfo files.")
     (license license:expat)))
 
-(define-public rust-zstd-0.9
+(define-public rust-zstd-0.11
   (package
     (name "rust-zstd")
-    (version "0.9.0+zstd.1.5.0")
+    (version "0.11.2+zstd.1.5.2")
     (source
      (origin
        (method url-fetch)
@@ -72256,19 +72256,37 @@ implementation that works everywhere, even WASM!")
        (file-name
         (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "1k9caa048d8x9asksjaf62xkpv0m1wsmw94h29k3csybq9frlx07"))))
+        (base32 "1r7xlmgnifhxbfyid8vkcnd5ip16gx9hf89d1l0lzrpc4q1rdk10"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
-       (("rust-zstd-safe" ,rust-zstd-safe-4))))
+       (("rust-zstd-safe" ,rust-zstd-safe-5))))
     (home-page "https://github.com/gyscos/zstd-rs")
     (synopsis "Binding to the zstd compression library")
     (description
      "This package provides a binding to the Zstd compression library.")
     (license license:expat)))
 
+(define-public rust-zstd-0.9
+  (package
+    (inherit rust-zstd-0.11)
+    (name "rust-zstd")
+    (version "0.9.0+zstd.1.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "zstd" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1k9caa048d8x9asksjaf62xkpv0m1wsmw94h29k3csybq9frlx07"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-zstd-safe" ,rust-zstd-safe-4))))))
+
 (define-public rust-zstd-0.8
   (package
     (inherit rust-zstd-0.9)