summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-15 13:04:49 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-16 12:52:36 +0200
commitfdeb6a73d2cbd1b7595fb35b3f64a8e72b4711a1 (patch)
tree803b1825d2039f20c212a6d4c45f2a162210d77a
parentd06c0d21dbb00d43e161a893fc9a00646a03d857 (diff)
downloadguix-fdeb6a73d2cbd1b7595fb35b3f64a8e72b4711a1.tar.gz
gnu: Add rust-lz4-sys-1.
* gnu/packages/crates-io.scm (rust-lz4-sys-1): New variable.
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8140cb566e..c38cf0a63f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24535,6 +24535,29 @@ server (LSP).")
     (description "This package provides a generic LSP server scaffold.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-lz4-sys-1
+  (package
+    (name "rust-lz4-sys")
+    (version "1.9.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lz4-sys" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1bmc82bddx2lm0r9bn422cxbwlwq6qld6m6l78hjcclbbnlrm9yw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-cc" ,rust-cc-1)
+        ("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/bozaro/lz4-rs")
+    (synopsis "Rust LZ4 sys package")
+    (description "This is the Rust LZ4 sys package.")
+    (license license:expat)))
+
 (define-public rust-lzma-sys-0.1
   (package
     (name "rust-lzma-sys")