From d9dfe614d71444d95971fed1ceaa72526d66dfbf Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 29 Dec 2024 22:27:50 +0200 Subject: [PATCH] gnu: Add rust-hootbin-0.1. * gnu/packages/crates-web.scm (rust-hootbin-0.1): New variable. Change-Id: I34869558db616c726c41cd560fb7f09c45b0e83f --- gnu/packages/crates-web.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index d1efb42a540..32baa5e8fa2 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")