From 8bb54c84deaa0a9c84ca7bc8bb2b45d04b85994f Mon Sep 17 00:00:00 2001 From: Aleksandr Vityazev Date: Sat, 7 Oct 2023 03:01:34 +0300 Subject: [PATCH] gnu: Add rust-fork-0.1. * gnu/packages/crates-io.scm (rust-fork-0.1): New variable. Signed-off-by: Efraim Flashner --- 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 @@ (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 + `(#: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")