diff mbox series

[bug#72021,18/38] gnu: Add rust-lzma-rust-0.1.

Message ID 78cd0f01f57370ed0f5652fc7f4d4dcaee9a8ce6.1720567734.git.w@wmeyer.eu
State New
Headers show
Series gnu: Add ouch. | expand

Commit Message

Wilko Meyer July 9, 2024, 11:36 p.m. UTC
* gnu/packages/crates-io.scm (rust-lzma-rust-0.1): New variable.

Change-Id: Ide2968a4912f5eca0679ddeabb3216ec44c3ec3a
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 111ae18fbf..56ada98781 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40675,6 +40675,26 @@  (define-public rust-lzma-rs-0.3
      "This package provides a codec for LZMA, LZMA2 and XZ written in pure Rust.")
     (license license:expat)))
 
+(define-public rust-lzma-rust-0.1
+  (package
+    (name "rust-lzma-rust")
+    (version "0.1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lzma-rust" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12dj3w2pnvx014pzjl8pc115rldgk6cbc7w6lwg24y2d3xfwzvfm"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1))))
+    (home-page "https://github.com/dyz1990/sevenz-rust/tree/main/lzma-rust")
+    (synopsis "Codec LZMA/LZMA2")
+    (description
+     "This package provides LZMA/LZMA2 codec ported from tukaani xz for java'.")
+    (license license:asl2.0)))
+
 (define-public rust-lzma-sys-0.1
   (package
     (name "rust-lzma-sys")