guix-commits
[Top][All Lists]
Advanced

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

11/25: gnu: Add rust-zstd-0.11.


From: guix-commits
Subject: 11/25: gnu: Add rust-zstd-0.11.
Date: Wed, 22 Feb 2023 14:05:13 -0500 (EST)

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

commit b4b1761d3cda7c07dad7a19f6ad71510954e2050
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 20:18:34 2023 +0200

    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.
---
 gnu/packages/crates-io.scm | 28 +++++++++++++++++++++++-----
 1 file changed, 23 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fa0c78d9eb..29fab90ad5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72042,10 +72042,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)
@@ -72053,19 +72053,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)



reply via email to

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