Subject: [bug#66378] [PATCH] gnu: Add rust-fork-0.1.

From: Aleksandr Vityazev <[email-masked]>
Date: Sat, 07 Oct 2023 03:01:34 +0300

* gnu/packages/crates-io.scm (rust-fork-0.1): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ed709ed62c..bd6f7c2e40 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25216,6 +25216,30 @@ (define-public rust-foreign-types-shared-0.1
         (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
+     `(#:skip-build? #t
+       #: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")

base-commit: a7e6b4c98b97921ab695218f9b89be4f1ded48c9
prerequisite-patch-id: ec4a09723b91089c8eb5b5269ae81272bb4d81b4
prerequisite-patch-id: 9680399593e3dcdb5b10ee646023efd1215942d9
prerequisite-patch-id: 66497a0079d0077e7b5001707d8211c525ea7193
prerequisite-patch-id: 4f512542ae5806d47054e063e3dd1df66258c530
prerequisite-patch-id: 48abb1e84ca8d85b23794222f8fa5b4d2dfa4699
prerequisite-patch-id: a7fdd2f87131ad73865389152d4a826df24fcae7
prerequisite-patch-id: 1600413a45a50114906f4390653c3fbb7f536a4c
-- 
2.41.0

-- 

Aleksandr Vityazev