guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

48/71: gnu: Add rust-hootbin-0.1.


From: guix-commits
Subject: 48/71: gnu: Add rust-hootbin-0.1.
Date: Sun, 29 Dec 2024 16:21:13 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit b129a2f97aa1819f5ecf17252dc008dcc5f7acbf
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Dec 29 22:27:50 2024 +0200

    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 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]