Subject: [bug#66717] [PATCH 15/64] gnu: Add rust-fetch-unroll-0.3.

From: Steve George <[email-masked]>
Date: Mon, 23 Oct 2023 23:21:00 +0100

* gnu/packages/crates-io.scm (rust-fetch-unroll-0.3): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3c77308d70..98b6d7207f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25433,6 +25433,31 @@ (define-public rust-fern-0.6
      "This package provides a simple, efficient logging system for Rust.")
     (license license:expat)))
 
+(define-public rust-fetch-unroll-0.3
+  (package
+    (name "rust-fetch-unroll")
+    (version "0.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "fetch_unroll" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1l3cf8fhcrw354hdmjf03f5v4bxgn2wkjna8n0fn8bgplh8b3666"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:tests? #f
+           #:cargo-inputs `(("rust-libflate" ,rust-libflate-1)
+                            ("rust-tar" ,rust-tar-0.4)
+                            ("rust-ureq" ,rust-ureq-2))))
+    ; perl required for building rust-ring
+    (inputs (list perl))
+    (home-page "https://github.com/katyo/fetch_unroll")
+    (synopsis "Simple utilities for fetching and unrolling .tar.gz archives")
+    (description
+     "Simple utilities for fetching and unrolling .tar.gz archives.")
+    (license license:asl2.0)))
+
 (define-public rust-fever-api-0.2
   (package
     (name "rust-fever-api")
-- 
2.41.0