guix-commits
[Top][All Lists]
Advanced

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

46/61: gnu: Add rust-is-wsl-0.4.


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

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

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

    gnu: Add rust-is-wsl-0.4.
    
    * gnu/packages/crates-io.scm (rust-is-wsl-0.4): New variable.
    
    Change-Id: Ida22a47dab92014fc5c598ce3feca74d0c0c01b9
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dacbadd201..bdfea65b2f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33803,6 +33803,29 @@ whether or not a given path points to an executable 
file.")
 stream runs in a TTY.")
     (license license:expat)))
 
+(define-public rust-is-wsl-0.4
+  (package
+    (name "rust-is-wsl")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "is-wsl" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "19bs5pq221d4bknnwiqqkqrnsx2in0fsk8fylxm1747iim4hjdhp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-is-docker" ,rust-is-docker-0.2)
+                       ("rust-once-cell" ,rust-once-cell-1))))
+    (home-page "https://github.com/TheLarkInn/is-wsl";)
+    (synopsis
+     "Checks if the process is running inside Windows Subsystem for Linux")
+    (description
+     "This package provides functions to check if the process is running inside
+Windows Subsystem for Linux.")
+    (license license:expat)))
+
 (define-public rust-iso8601-0.4
   (package
     (name "rust-iso8601")



reply via email to

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