guix-commits
[Top][All Lists]
Advanced

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

118/188: gnu: Add rust-zstd-sys-1.


From: guix-commits
Subject: 118/188: gnu: Add rust-zstd-sys-1.
Date: Mon, 12 Oct 2020 02:25:14 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit 4402eb48cdd18aed8072696496362f2e774e973f
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Sat Sep 19 21:45:49 2020 +0530

    gnu: Add rust-zstd-sys-1.
    
    * gnu/packages/crates-io.scm (rust-zstd-sys-1, rust-zstd-sys-1.4.17): New
    variables.
---
 gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3aa54cd..ec17903 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30657,6 +30657,37 @@ implementation that works everywhere, even WASM!")
      "This package provides a library for parsing compiled zoneinfo files.")
     (license license:expat)))
 
+(define-public rust-zstd-sys-1
+  (package
+    (name "rust-zstd-sys")
+    (version "1.4.17+zstd.1.4.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "zstd-sys" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "06zhk1j5v1sm04xxrw72lgzyi1wcq7kvj6vbd4ibamph9mj4k4mq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2))
+       #:cargo-development-inputs
+       (("rust-bindgen" ,rust-bindgen-0.54)
+        ("rust-cc" ,rust-cc-1)
+        ("rust-glob" ,rust-glob-0.3)
+        ("rust-itertools" ,rust-itertools-0.9)
+        ("rust-pkg-config" ,rust-pkg-config-0.3))))
+    (home-page "https://github.com/gyscos/zstd-rs";)
+    (synopsis "Low-level bindings to the zstd compression library")
+    (description "This package provides low-level Rust bindings to the zstd
+compression library.")
+    (license (list license:expat license:asl2.0))))
+
+(define-public rust-zstd-sys-1.4.17 rust-zstd-sys-1)
+
 (define-public rust-packed-struct
   (package
     (name "rust-packed-struct")
@@ -30804,4 +30835,3 @@ formatters with per-field documentation generated for 
each structure.
     (description
       "Generate Rust register maps (`struct`s) from SVD files")
     (license (list license:expat license:asl2.0))))
-



reply via email to

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