diff options
author | Steve George <steve@futurile.net> | 2023-10-30 21:06:08 +0000 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-11-28 07:59:29 +0200 |
commit | a03915c6cc0e343a5f069d759ceab31bc861c49b (patch) | |
tree | f811822b3e4d97cdfcfa64a724e83de343afa268 | |
parent | 7b9d920340ceb2adc7e429e37a5faf0d6004dca1 (diff) | |
download | guix-a03915c6cc0e343a5f069d759ceab31bc861c49b.tar.gz |
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
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 22 insertions, 6 deletions
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 |