From 38a3cacca042caa5eed6a287f017dd36fa75777a Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 26 Jul 2021 11:16:37 +0200 Subject: gnu: Add rust-s3handler-0.7. * gnu/packages/crates-io.scm (rust-s3handler-0.7): New variable. (rust-s3handler-0.6): Inherit from above. --- gnu/packages/crates-io.scm | 54 ++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 47 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 737dfc4476..0dee6f474c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39910,8 +39910,54 @@ sub-processes using a fork-like interface.") quickly convert floating point numbers to decimal strings.") (license (list license:asl2.0 license:boost1.0)))) +(define-public rust-s3handler-0.7 + (package + (name "rust-s3handler") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "s3handler" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13m2l9m4a1mkmwvzasqsby8gls9mrihalf5gnc6scrbdqkycrnqa")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.13) + ("rust-bytes" ,rust-bytes-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-dyn-clone" ,rust-dyn-clone-1) + ("rust-failure" ,rust-failure-0.1) + ("rust-failure-derive" ,rust-failure-derive-0.1) + ("rust-futures" ,rust-futures-0.3) + ("rust-hmac" ,rust-hmac-0.4) + ("rust-hmac-sha1" ,rust-hmac-sha1-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-md5" ,rust-md5-0.7) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-quick-xml" ,rust-quick-xml-0.22) + ("rust-regex" ,rust-regex-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-rust-crypto" ,rust-rust-crypto-0.2) + ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha2" ,rust-sha2-0.6) + ("rust-tokio" ,rust-tokio-1) + ("rust-url" ,rust-url-2)))) + (home-page "https://crates.io/crates/s3handler") + (synopsis "Library for S3 Rich Support client (S3RS)") + (description + "This package is a s3 handler for S3 Rich Support client (S3RS).") + (license license:expat))) + (define-public rust-s3handler-0.6 (package + (inherit rust-s3handler-0.7) (name "rust-s3handler") (version "0.6.6") (source @@ -39921,7 +39967,6 @@ quickly convert floating point numbers to decimal strings.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0zridmnz9l3mr0crma95a3jqi961g034agx43a5yh4pgvv2q6mzq")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -39951,12 +39996,7 @@ quickly convert floating point numbers to decimal strings.") ("rust-serde-json" ,rust-serde-json-1) ("rust-sha2" ,rust-sha2-0.6) ("rust-tokio" ,rust-tokio-0.2) - ("rust-url" ,rust-url-2)))) - (home-page "https://crates.io/crates/s3handler") - (synopsis "Library for S3 Rich Support client (S3RS)") - (description "This package is a s3 handler for S3 Rich Support -client (S3RS).") - (license license:expat))) + ("rust-url" ,rust-url-2)))))) (define-public rust-s3handler-0.5 (package -- cgit v1.2.3