guix-commits
[Top][All Lists]
Advanced

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

310/330: gnu: Add rust-listenfd-1.


From: guix-commits
Subject: 310/330: gnu: Add rust-listenfd-1.
Date: Mon, 18 Mar 2024 07:16:47 -0400 (EDT)

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

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

    gnu: Add rust-listenfd-1.
    
    * gnu/packages/crates-io.scm (rust-listenfd-1): New variable.
    
    Change-Id: Ie6ebf995867b41be9a051efb2fc72cc03c989ed1
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 18ea61fb41..a67be4616b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36849,6 +36849,32 @@ harness used by @code{rustc --test}.")
         ("rust-structopt" ,rust-structopt-0.3)
         ("rust-termcolor" ,rust-termcolor-1))))))
 
+(define-public rust-listenfd-1
+  (package
+    (name "rust-listenfd")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "listenfd" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "15jc2xgrp4j6508s5f9d9gq6w1ssgv2mvc5b3795jqnrmiih8l70"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-uuid" ,rust-uuid-1)
+                       ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs (("rust-hyper" ,rust-hyper-0.14)
+                                   ("rust-tokio" ,rust-tokio-1)
+                                   ("rust-warp" ,rust-warp-0.3))))
+    (home-page "https://github.com/mitsuhiko/rust-listenfd";)
+    (synopsis "Library to work with listenfds passed from the outside")
+    (description
+     "This package provides a simple library to work with listenfds passed from
+the outside, such as systemd/catflap socket activation.")
+    (license license:asl2.0)))
+
 (define-public rust-litrs-0.4
   (package
     (name "rust-litrs")



reply via email to

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