guix-commits
[Top][All Lists]
Advanced

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

205/470: gnu: Add rust-libdeflate-sys-0.11.


From: guix-commits
Subject: 205/470: gnu: Add rust-libdeflate-sys-0.11.
Date: Sun, 30 Apr 2023 14:04:10 -0400 (EDT)

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

commit e5103162d30dbdef1de7ce211e9b458bd0698247
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 23 16:54:35 2023 +0200

    gnu: Add rust-libdeflate-sys-0.11.
    
    * gnu/packages/crates-io.scm (rust-libdeflate-sys-0.11): New variable.
    (rust-libdeflate-sys-0.5): Inherit from rust-libdeflate-sys-0.11.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++------
 1 file changed, 22 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 74031b44a5..c8d6944927 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31167,21 +31167,20 @@ macros on libc without stdlib.")
     (description "This package provides FFI bindings to libdbus.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-libdeflate-sys-0.5
+;; TODO: Unbundle libdeflate
+(define-public rust-libdeflate-sys-0.11
   (package
     (name "rust-libdeflate-sys")
-    (version "0.5.0")
+    (version "0.11.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "libdeflate-sys" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
-               (base32
-                "07ychzvz9xrqs92frs3zpny0l8jp3sndzqpl7zhv6kdqhzx9xqr1"))))
+               (base32 
"0xs2wdly73ar7r9qyrbwnkwjjz4wd92kv5h78cdxfrsbp2v88ryb"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-cc" ,rust-cc-1))))
+     `(#:cargo-inputs (("rust-cc" ,rust-cc-1))))
     (home-page "https://github.com/adamkewley/libdeflater";)
     (synopsis "Bindings to libdeflate")
     (description
@@ -31190,6 +31189,23 @@ exposed as non-streaming buffer operations.  It 
contains bindings for raw
 deflate, zlib, and gzip data.")
     (license license:asl2.0)))
 
+(define-public rust-libdeflate-sys-0.5
+  (package
+    (inherit rust-libdeflate-sys-0.11)
+    (name "rust-libdeflate-sys")
+    (version "0.5.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "libdeflate-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "07ychzvz9xrqs92frs3zpny0l8jp3sndzqpl7zhv6kdqhzx9xqr1"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cc" ,rust-cc-1))))
+    (home-page "https://github.com/adamkewley/libdeflater";)))
+
 (define-public rust-libdeflater-0.11
   (package
     (name "rust-libdeflater")



reply via email to

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