diff mbox series

[bug#72021,22/38] gnu: Add rust-sevenz-rust-0.5.

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

Commit Message

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

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

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8d1c26a497..e6181312af 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70248,6 +70248,39 @@  (define-public rust-sensors-0.2
      "This package provides a Rust-friendly interface to lm-sensors.")
     (license license:miros)))
 
+(define-public rust-sevenz-rust-0.5
+  (package
+    (name "rust-sevenz-rust")
+    (version "0.5.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sevenz-rust" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0na67bs0ff01vicwwlc26sbh9jh4wpqn7988k31cixn5s231wfi3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-aes" ,rust-aes-0.8)
+                       ("rust-bit-set" ,rust-bit-set-0.5)
+                       ("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-bzip2" ,rust-bzip2-0.4)
+                       ("rust-cbc" ,rust-cbc-0.1)
+                       ("rust-crc" ,rust-crc-3)
+                       ("rust-filetime-creation" ,rust-filetime-creation-0.1)
+                       ("rust-js-sys" ,rust-js-sys-0.3)
+                       ("rust-lzma-rust" ,rust-lzma-rust-0.1)
+                       ("rust-nt-time" ,rust-nt-time-0.6)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-sha2" ,rust-sha2-0.10)
+                       ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+                       ("rust-zstd" ,rust-zstd-0.13))))
+    (home-page "https://github.com/dyz1990/sevenz-rust")
+    (synopsis "7z decompressor/compressor")
+    (description
+     "This package provides a 7z decompressor/compressor written in pure rust.")
+    (license license:asl2.0)))
+
 (define-public rust-shadow-rs-0.26
   (package
     (name "rust-shadow-rs")