aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-18 12:01:38 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:43:14 +0300
commit0cdf9eab45a8d1827b4deebce878c666547c2ded (patch)
tree12b168447054b531f04198c5fa85bba60e6f5438
parent3685b143f827a613e9862af7ba8fab884a2c3ca1 (diff)
downloadguix-0cdf9eab45a8d1827b4deebce878c666547c2ded.tar
guix-0cdf9eab45a8d1827b4deebce878c666547c2ded.tar.gz
gnu: Add rust-listenfd-1.
* gnu/packages/crates-io.scm (rust-listenfd-1): New variable. Change-Id: Ie6ebf995867b41be9a051efb2fc72cc03c989ed1
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 06033d2a99..c33f2ffaa5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37001,6 +37001,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")