dannym pushed a commit to branch master in repository guix. commit ad4825ee835ae8538efcc0a0d3364f2e5c159ec3 Author: Jordan Moore <lock...@struct.foo> AuthorDate: Wed Feb 5 19:31:24 2025 +0100
gnu: Add rust-self-replace-1. * gnu/packages/crates-io.scm (rust-self-replace-1): New variable. Change-Id: I89968eb1bf67938f3473a755b82f9f73e35cab17 Signed-off-by: Danny Milosavljevic <dan...@friendly-machines.com> --- 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 b30c6bd009..e37fd2a2e0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -71195,6 +71195,30 @@ dropped.") in stable Rust.") (license license:asl2.0))) +(define-public rust-self-replace-1 + (package + (name "rust-self-replace") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "self-replace" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1drganasvf5b0x6c9g60jkfhzjc9in3r6cznjfw0lhmbbrdq3v03")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;crate does not package test dependencies + #:cargo-inputs (("rust-fastrand" ,rust-fastrand-2) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) + (home-page "https://github.com/mitsuhiko/self-replace") + (synopsis "Allow executables to replace or uninstall themselves") + (description + "This package provides an utility crate that allows executables to +replace or uninstall themselves.") + (license license:asl2.0))) + (define-public rust-selinux-0.4 (package (name "rust-selinux")