Subject: [PATCH 17/38] gnu: Add rust-lzma-rs-0.3.

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

* gnu/packages/crates-io.scm (rust-lzma-rs-0.3): New variable.

Change-Id: I6edb69a25e6a9cf9ea52daed1f4fd5dff2c3bab1
---
 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 b53779f82e..111ae18fbf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40652,6 +40652,29 @@ (define-public rust-lz4-sys-1
     (description "This is the Rust LZ4 sys package.")
     (license license:expat)))
 
+(define-public rust-lzma-rs-0.3
+  (package
+    (name "rust-lzma-rs")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lzma-rs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0phif4pnjrn28zcxgz3a7z86hhx5gdajmkrndfw4vrkahd682zi9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-crc" ,rust-crc-3)
+                       ("rust-env-logger" ,rust-env-logger-0.9)
+                       ("rust-log" ,rust-log-0.4))))
+    (home-page "https://github.com/gendx/lzma-rs")
+    (synopsis "Codec for LZMA, LZMA2 and XZ")
+    (description
+     "This package provides a codec for LZMA, LZMA2 and XZ written in pure Rust.")
+    (license license:expat)))
+
 (define-public rust-lzma-sys-0.1
   (package
     (name "rust-lzma-sys")
-- 
2.41.0