guix-commits
[Top][All Lists]
Advanced

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

24/54: gnu: Add rust-lz4-1.


From: guix-commits
Subject: 24/54: gnu: Add rust-lz4-1.
Date: Wed, 16 Jun 2021 06:55:09 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit af971f6f03fe9a31612095e7437cc6d4e8ea4bd8
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Jun 15 13:05:49 2021 +0200

    gnu: Add rust-lz4-1.
    
    * gnu/packages/crates-io.scm (rust-lz4-1): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c38cf0a..9e5e773 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")



reply via email to

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