guix-commits
[Top][All Lists]
Advanced

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

290/330: gnu: Add rust-tiny-http-0.11.


From: guix-commits
Subject: 290/330: gnu: Add rust-tiny-http-0.11.
Date: Mon, 18 Mar 2024 07:16:39 -0400 (EDT)

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

commit 0f927469e237eb673878c9ef94e8f7115691f005
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 12:01:34 2024 +0200

    gnu: Add rust-tiny-http-0.11.
    
    * gnu/packages/crates-web.scm (rust-tiny-http-0.11): New variable.
    
    Change-Id: I2caf5d8044feb9091ab3a763f2035783d395c2db
---
 gnu/packages/crates-web.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 2e1929a8da..da5910152c 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -4905,6 +4905,32 @@ alike.  It's completely modular, and built directly for 
@code{async/await}.")
     (description "This package provides a low level HTTP server library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-tiny-http-0.11
+  (package
+    (inherit rust-tiny-http-0.12)
+    (name "rust-tiny-http")
+    (version "0.11.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tiny_http" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1jkpniq72ppbhppyxd2q36kjji05qljsvv1fhvxiwg6j217fzmp0"))))
+    (arguments
+     `(#:cargo-inputs (("rust-ascii" ,rust-ascii-1)
+                       ("rust-chunked-transfer" ,rust-chunked-transfer-1)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-openssl" ,rust-openssl-0.10)
+                       ("rust-rustls" ,rust-rustls-0.20)
+                       ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2)
+                       ("rust-time" ,rust-time-0.3)
+                       ("rust-url" ,rust-url-2)
+                       ("rust-zeroize" ,rust-zeroize-1))
+       #:cargo-development-inputs (("rust-fdlimit" ,rust-fdlimit-0.1)
+                                   ("rust-rustc-serialize" 
,rust-rustc-serialize-0.3)
+                                   ("rust-sha1" ,rust-sha1-0.6))))))
+
 (define-public rust-tiny-http-0.6
   (package
     (inherit rust-tiny-http-0.12)



reply via email to

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