aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2021-09-18 16:13:16 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-11-03 13:28:39 +0100
commit3e06ac60a031f15eb3b9a3ecd29ce9097b1c84d3 (patch)
treecf0d4d616fd002c3e250eead5a2c3e3e0f25b1b7 /gnu
parent54de80373d6931c1da18ba0cd8d4a092599117f3 (diff)
downloadguix-3e06ac60a031f15eb3b9a3ecd29ce9097b1c84d3.tar
guix-3e06ac60a031f15eb3b9a3ecd29ce9097b1c84d3.tar.gz
gnu: Add rust-feedbin-api-0.1.
* gnu/packages/crates-io.scm (rust-feedbin-api-0.1): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fa893df106..b9a2e41ca2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16928,6 +16928,43 @@ descriptors limit.")
Atom, RSS 2.0, RSS 1.0, RSS 0.x and JSON Feed")
(license license:expat)))
+(define-public rust-feedbin-api-0.1
+ (package
+ (name "rust-feedbin-api")
+ (version "0.1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "feedbin-api" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "170xf3cgsqgqpnafpdmzzw9yvzc51r22lgr4f4hcrmidxlxpmlkp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;tests use the network
+ #:cargo-inputs
+ (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-failure" ,rust-failure-0.1)
+ ("rust-reqwest" ,rust-reqwest-0.11)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-url" ,rust-url-2))
+ #:cargo-development-inputs
+ (("rust-dotenv" ,rust-dotenv-0.15)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-tokio" ,rust-tokio-1))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("openssl" ,openssl)))
+ (home-page "https://gitlab.com/news-flash/feedbin_api")
+ (synopsis "Rust implementation of the Feedbin REST API")
+ (description
+ "This package provides a Rust implementation of the Feedbin REST API.")
+ (license license:unlicense)))
+
(define-public rust-femme-2
(package
(name "rust-femme")