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>
This commit is contained in:
Vinicius Monego 2021-09-18 16:13:18 +00:00 committed by Nicolas Goaziou
parent ab7b6199e3
commit 1e1c51a5e5
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -17122,6 +17122,43 @@ (define-public rust-fern-0.5
(("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")