guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

47/61: gnu: Add rust-is-docker-0.2.


From: guix-commits
Subject: 47/61: gnu: Add rust-is-docker-0.2.
Date: Thu, 28 Mar 2024 12:01:09 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 667f3d23538721960d0ef8df0c4c84c27d9d916f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 28 11:07:34 2024 +0200

    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 bdfea65b2f..17461f7f89 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33750,6 +33750,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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]