From 8b19bf326edda4a85bbddaa64253993a9ba46ab1 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 29 Dec 2024 22:27:27 +0200 Subject: [PATCH] gnu: Add rust-hoot-0.1. * gnu/packages/crates-web.scm (rust-hoot-0.1): New variable. Change-Id: Iddf3b8a6addee583ae9bb5e4556e8e3154ec8f38 --- gnu/packages/crates-web.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index af1fc1527e..d1efb42a54 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -3816,6 +3816,27 @@ means it should be easily integrated into other software that also use those libraries.") (license (list license:expat license:asl2.0)))) +(define-public rust-hoot-0.1 + (package + (name "rust-hoot") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "hoot" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mjfrn3yxhd2ll8kk5jhgasn8m2rbhb7va7s6dihin15afvf7spw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-httparse" ,rust-httparse-1) + ("rust-log" ,rust-log-0.4)) + #:cargo-development-inputs (("rust-memoffset" ,rust-memoffset-0.9)))) + (home-page "https://github.com/algesten/hoot") + (synopsis "Http 1.1 library") + (description "This package provides an http 1.1 library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-http-1 (package (name "rust-http")