aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-15 13:05:49 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-16 12:52:36 +0200
commitaf971f6f03fe9a31612095e7437cc6d4e8ea4bd8 (patch)
tree2f350fd8a215a74ff3c86c45f19f27be89bc385c /gnu/packages/crates-io.scm
parentfdeb6a73d2cbd1b7595fb35b3f64a8e72b4711a1 (diff)
downloadguix-af971f6f03fe9a31612095e7437cc6d4e8ea4bd8.tar.gz
guix-af971f6f03fe9a31612095e7437cc6d4e8ea4bd8.zip
gnu: Add rust-lz4-1.
* gnu/packages/crates-io.scm (rust-lz4-1): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-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 c38cf0a63f..9e5e7733d7 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-1
+ (package
+ (name "rust-lz4")
+ (version "1.23.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lz4" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0k3j1wsgn4c5ys4vma326r00g5rq5ggp7k385rmby08yk7b0xhma"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-lz4-sys" ,rust-lz4-sys-1))))
+ (home-page "https://github.com/10xGenomics/lz4-rs")
+ (synopsis "Rust LZ4 bindings library")
+ (description "This crate provides Rust LZ4 bindings.")
+ (license license:expat)))
+
(define-public rust-lz4-sys-1
(package
(name "rust-lz4-sys")