guix-patches
[Top][All Lists]
Advanced

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

[bug#72021] [PATCH 26/38] gnu: Add rust-unrar-sys-0.3.


From: Wilko Meyer
Subject: [bug#72021] [PATCH 26/38] gnu: Add rust-unrar-sys-0.3.
Date: Wed, 10 Jul 2024 01:37:06 +0200

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

Change-Id: Ibc9e3d32e1bb6f24cf14dae293888d5294e8375b
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 579328dac2..f75fc23d1f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -86372,6 +86372,28 @@ (define-public rust-unix-socket-0.5
     (description "This package provides unix domain socket bindings.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-unrar-sys-0.3
+  (package
+    (name "rust-unrar-sys")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "unrar_sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1473jrfr0hcghym813sw0f5kzw9hrs0lj1xfdyjz1b0nf181qs8z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-cc" ,rust-cc-1)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/muja/unrar.rs";)
+    (synopsis "FFI bindings to unrar")
+    (description
+     "This package provides FFI bindings to unrar (with minimal 
abstractions).")
+    (license license:expat)))
+
 (define-public rust-unreachable-1
   (package
     (name "rust-unreachable")
-- 
2.41.0






reply via email to

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