Subject: [PATCH 02/21] gnu: Add rust-daemonize-0.4.

From: aecepoglu <[email-masked]>
Date: Thu, 4 Feb 2021 14:35:49 +0300

* gnu/packages/crates-io.scm (rust-daemonize-0.4): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7338dd65bf..5a9a0c239a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8859,6 +8859,33 @@ crate (implementation detail).")
      "This package provides an implementation detail of the @code{cxx} crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-daemonize-0.4
+  (package
+    (name "rust-daemonize")
+    (version "0.4.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "daemonize" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "05cqr2zjxrxyg23snykd03sgqwxn0pvwj2lzh50bclsgwc9lbhkh"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-boxfnonce" ,rust-boxfnonce-0.1)
+         ("rust-libc" ,rust-libc-0.2))
+        #:cargo-development-inputs
+        (("rust-tempdir" ,rust-tempdir-0.3))))
+    (home-page "")
+    (synopsis
+      "Enables your code run as a daemon process on Unix-like systems")
+    (description
+      "daemonize is a library for writing system deaemons.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-darling-0.10
   (package
     (name "rust-darling")
-- 
2.30.0