guix-commits
[Top][All Lists]
Advanced

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

03/40: gnu: Add rust-fork-0.1.


From: guix-commits
Subject: 03/40: gnu: Add rust-fork-0.1.
Date: Sun, 22 Oct 2023 09:40:19 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 8bb54c84deaa0a9c84ca7bc8bb2b45d04b85994f
Author: Aleksandr Vityazev <avityazew@gmail.com>
AuthorDate: Sat Oct 7 03:01:34 2023 +0300

    gnu: Add rust-fork-0.1.
    
    * gnu/packages/crates-io.scm (rust-fork-0.1): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 64a11be7bd..f55c1bd64e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26163,6 +26163,29 @@ implementation that is more efficient for smaller hash 
keys.")
         (base32
          "0jxgzd04ra4imjv8jgkmdq59kj8fsz6w4zxsbmlai34h26225c00"))))))
 
+(define-public rust-fork-0.1
+  (package
+    (name "rust-fork")
+    (version "0.1.22")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "fork" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "124fbfwqka5xh2jndmlpgbl2ya7a9yf7q6adxvkja510b5xajb5z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://docs.rs/fork/latest/fork/";)
+    (synopsis
+     "Library for creating a new process detached from the controlling 
terminal")
+    (description
+     "This package provides library for creating a new process detached from
+the controling terminal (daemon) using the fork and setsid syscalls.")
+    (license license:bsd-3)))
+
 (define-public rust-form-urlencoded-1
   (package
     (name "rust-form-urlencoded")



reply via email to

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