summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2025-01-16 22:49:15 +0100
committerRicardo Wurmus <rekado@elephly.net>2025-01-20 21:38:00 +0100
commit311c25beae50f539711beadfe82303fb55ec5e33 (patch)
treea4545e9216f037b1942cb4b792e05d349234c7eb
parent45cd7e645e7f8aec6701e2525eee9d45f62c1f39 (diff)
gnu: Add rust-fetch-data-0.2.
* gnu/packages/crates-io.scm (rust-fetch-data-0.2): New variable. Change-Id: Ie323074ac7bbe648b17a08ae13305d7bad466879
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d142c1f579b..64914187123 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25807,6 +25807,37 @@ Atom, RSS 2.0, RSS 1.0, RSS 0.x and JSON Feed")
"This package provides a simple, efficient logging system for Rust.")
(license license:expat)))
+(define-public rust-fetch-data-0.2
+ (package
+ (name "rust-fetch-data")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fetch-data" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wjjb3l37kdvvq3pv93cxlxxr2pc7kx0ssk2gqispw5bhggnlyda"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyinput" ,rust-anyinput-0.1)
+ ("rust-base16ct" ,rust-base16ct-0.2)
+ ("rust-ctor" ,rust-ctor-0.2)
+ ("rust-directories" ,rust-directories-5)
+ ("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-sha2" ,rust-sha2-0.10)
+ ("rust-temp-testdir" ,rust-temp-testdir-0.2)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-ureq" ,rust-ureq-2))))
+ (home-page "https://github.com/CarlKCarlK/fetch-data")
+ (synopsis "Fetch data files from a URL")
+ (description
+ "This package lets you fetch data files from a URL, but only if needed.
+It verifies contents via SHA256 and provides some Python Pooch
+compatibility.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-fetch-unroll-0.3
(package
(name "rust-fetch-unroll")