guix-commits
[Top][All Lists]
Advanced

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

08/25: gnu: Add rust-zstd-sys-2.


From: guix-commits
Subject: 08/25: gnu: Add rust-zstd-sys-2.
Date: Wed, 22 Feb 2023 14:05:12 -0500 (EST)

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

commit e9ad0cf6702ad530fcb2f4557a23d8be935a8cae
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 20:03:48 2023 +0200

    gnu: Add rust-zstd-sys-2.
    
    * gnu/packages/crates-io.scm (rust-zstd-sys-2): New variable.
    (rust-zstd-sys-1): Inherit from rust-zstd-sys-2.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++----
 1 file changed, 25 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3962bbda97..ace36b42b8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72160,10 +72160,10 @@ library.")
         ("rust-zstd-sys" ,rust-zstd-sys-1))))))
 
 ;; TODO: Unbundle zstd.
-(define-public rust-zstd-sys-1
+(define-public rust-zstd-sys-2
   (package
     (name "rust-zstd-sys")
-    (version "1.6.1+zstd.1.5.0")
+    (version "2.0.7+zstd.1.5.4")
     (source
      (origin
        (method url-fetch)
@@ -72171,11 +72171,11 @@ library.")
        (file-name
         (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0cra76lginz5k659rch7axg5nyms67yffygr3k7ic7a3lb3j0lb1"))))
+        (base32 "1xf7ng97h6h89bvisllj05vapkqcacn88y9bfm6jjmgyl8xrql4l"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-bindgen" ,rust-bindgen-0.58)
+       (("rust-bindgen" ,rust-bindgen-0.63)
         ("rust-cc" ,rust-cc-1)
         ("rust-libc" ,rust-libc-0.2)
         ("rust-pkg-config" ,rust-pkg-config-0.3))))
@@ -72185,6 +72185,27 @@ library.")
 compression library.")
     (license (list license:expat license:asl2.0))))
 
+;; TODO: Unbundle zstd.
+(define-public rust-zstd-sys-1
+  (package
+    (inherit rust-zstd-sys-2)
+    (name "rust-zstd-sys")
+    (version "1.6.1+zstd.1.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "zstd-sys" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0cra76lginz5k659rch7axg5nyms67yffygr3k7ic7a3lb3j0lb1"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bindgen" ,rust-bindgen-0.58)
+        ("rust-cc" ,rust-cc-1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-pkg-config" ,rust-pkg-config-0.3))))))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar



reply via email to

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