From 23c03fc8e108a3f28cd63acae14236733235ebbf Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 28 Mar 2024 11:07:34 +0200 Subject: [PATCH] gnu: Add rust-is-docker-0.2. * gnu/packages/crates-io.scm (rust-is-docker-0.2): New variable. Change-Id: Id5f3bc7a7368562c56a8f2c9649fcec80fc23b93 --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 85a6caad43..dbbde2a8a8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33841,6 +33841,26 @@ Rust.") (description "get build model is debug") (license (list license:expat license:asl2.0)))) +(define-public rust-is-docker-0.2 + (package + (name "rust-is-docker") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "is-docker" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cyibrv6817cqcpf391m327ss40xlbik8wxcv5h9pj9byhksx2wj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))) + (home-page "https://github.com/TheLarkInn/is-docker") + (synopsis "Checks if the process is running inside a Docker container") + (description "This package provides a helper function to check if the +process is running inside a Docker container.") + (license license:expat))) + (define-public rust-is-executable-1 (package (name "rust-is-executable")