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

From: Wilko Meyer <[email-masked]>
Date: Wed, 10 Jul 2024 01:36:58 +0200

* 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 --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")
-- 
2.41.0