diff options
author | Vinicius Monego <monego@posteo.net> | 2021-09-18 16:13:18 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-11-03 13:28:39 +0100 |
commit | 1e1c51a5e5095c20b9d7723c4b0509c5e79592fc (patch) | |
tree | 58acdf9c680abd9d95b89165a6c2371d551e622d | |
parent | ab7b6199e321944f94daf19ff28eeb8a65762fa2 (diff) | |
download | guix-1e1c51a5e5095c20b9d7723c4b0509c5e79592fc.tar guix-1e1c51a5e5095c20b9d7723c4b0509c5e79592fc.tar.gz |
gnu: Add rust-fever-api-0.2.
* gnu/packages/crates-io.scm (rust-fever-api-0.2): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 928f17fe13..3cc1ba9e3e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17122,6 +17122,43 @@ Atom, RSS 2.0, RSS 1.0, RSS 0.x and JSON Feed") (("rust-clap" ,rust-clap-2) ("rust-tempdir" ,rust-tempdir-0.3)))))) +(define-public rust-fever-api-0.2 + (package + (name "rust-fever-api") + (version "0.2.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "fever-api" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pv4g241pc0bfwy9gjwsmrdv7mplzbifxr5mxf0k82yxawg55anc")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;tests use the network + #:cargo-inputs + (("rust-failure" ,rust-failure-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-md5" ,rust-md5-0.7) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-dotenv" ,rust-dotenv-0.15) + ("rust-tokio" ,rust-tokio-1)))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("openssl" ,openssl))) + (home-page "https://gitlab.com/news-flash/fever_api") + (synopsis "Rust implementation of the Fever API") + (description + "This packages provides a Rust implementation of the Fever API.") + ;; No copyright headers in the source code. LICENSE indicates gpl3. + (license license:gpl3))) + (define-public rust-filesize-0.2 (package (name "rust-filesize") |