guix-patches
[Top][All Lists]
Advanced

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

[bug#70177] [PATCH 008/120] gnu: Add rust-listenfd


From: zenmaya
Subject: [bug#70177] [PATCH 008/120] gnu: Add rust-listenfd
Date: Thu, 4 Apr 2024 08:07:22 +0200

Change-Id: I80eb0a80b6872ac4de9f154b79e51c6f68c33ef3
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6edc0af262..4a1bb0bab3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23151,6 +23151,31 @@ (define-public rust-fastrand-1
         ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
         ("rust-wyhash" ,rust-wyhash-0.5))))))
 
+(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
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-uuid" ,rust-uuid-1)
+                       ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/mitsuhiko/rust-listenfd";)
+    (synopsis
+     "A simple library to work with listenfds passed from the outside 
(systemd/catflap socket activation)")
+    (description
+     "This package provides a simple library to work with listenfds passed 
from the
+outside (systemd/catflap socket activation)")
+    (license license:asl2.0)))
+
 (define-public rust-fd-lock-3
   (package
     (name "rust-fd-lock")
-- 
2.41.0






reply via email to

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