From a03915c6cc0e343a5f069d759ceab31bc861c49b Mon Sep 17 00:00:00 2001 From: Steve George Date: Mon, 30 Oct 2023 21:06:08 +0000 Subject: gnu: Add rust-daemonize-0.5. * gnu/packages/crates-io.scm (rust-daemonize-0.5): New variable. (rust-daemonize-0.4): Inherit from rust-daemonize-0.5. Change-Id: I4ebb248745df4db59fca540a740f6468db442e34 --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a4f4ce7aa6..d037851dbd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -19665,8 +19665,29 @@ crate (implementation detail).") #:cargo-development-inputs (("rust-cxx" ,rust-cxx-0.5)))))) +(define-public rust-daemonize-0.5 + (package + (name "rust-daemonize") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "daemonize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vhikx85f85r46xghsb4avsv6ww8mz9lipqvsia7m21wrfmgv2xb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/knsd/daemonize") + (synopsis "Library to enable code to run as a daemon process") + (description + "Daemonize is a Rust Library for writing system daemonis on Unix-like systems.") + (license (list license:expat license:asl2.0)))) + (define-public rust-daemonize-0.4 (package + (inherit rust-daemonize-0.5) (name "rust-daemonize") (version "0.4.1") (source @@ -19676,18 +19697,13 @@ crate (implementation detail).") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "05cqr2zjxrxyg23snykd03sgqwxn0pvwj2lzh50bclsgwc9lbhkh")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #: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 "https://github.com/knsd/daemonize") - (synopsis "Library for writing system daemons") - (description "Daemonize is a Rust library for writing system deaemons.") - (license (list license:expat license:asl2.0)))) + (("rust-tempdir" ,rust-tempdir-0.3)))))) (define-public rust-darling-0.20 (package -- cgit v1.2.3