summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-web.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-12-29 22:27:50 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-01-06 12:21:20 +0200
commitd9dfe614d71444d95971fed1ceaa72526d66dfbf (patch)
tree02704b9a367e4f38f335557498a387b561c429e5 /gnu/packages/crates-web.scm
parent8b19bf326edda4a85bbddaa64253993a9ba46ab1 (diff)
gnu: Add rust-hootbin-0.1.
* gnu/packages/crates-web.scm (rust-hootbin-0.1): New variable. Change-Id: I34869558db616c726c41cd560fb7f09c45b0e83f
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r--gnu/packages/crates-web.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index d1efb42a54..32baa5e8fa 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3837,6 +3837,30 @@ libraries.")
(description "This package provides an http 1.1 library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-hootbin-0.1
+ (package
+ (name "rust-hootbin")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hootbin" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1f616q6z7z97p1ylns8hdbikcpbazyad0370mfihkq8sj4brxkzb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-fastrand" ,rust-fastrand-2)
+ ("rust-hoot" ,rust-hoot-0.1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (home-page "https://github.com/algesten/hoot")
+ (synopsis "Hoot based library to emulate httpbin")
+ (description
+ "This package provides a hoot based library to emulate httpbin.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-http-1
(package
(name "rust-http")