guix-patches
[Top][All Lists]
Advanced

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

[bug#70147] [PATCH 41/42] gnu: Add rust-wsl-0.1.


From: Wilko Meyer
Subject: [bug#70147] [PATCH 41/42] gnu: Add rust-wsl-0.1.
Date: Tue, 2 Apr 2024 18:22:58 +0200

* gnu/packages/crates-windows.scm (rust-wsl-0.1): New variable.

Change-Id: I3c6ddf63fb385b32c0cb3ace178efe81afbca12f
---
 gnu/packages/crates-windows.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index ef91db0e96..9bdf0df4e0 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -2685,3 +2685,25 @@ (define-public rust-windows-x86-64-msvc-0.28
                (base32
                 "17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz"))))))
 
+(define-public rust-wsl-0.1
+  (package
+    (name "rust-wsl")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wsl" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1m2hg4sfnrwm67fb1vsgycy36l2hbgmcpgllcpmbs427hsnbgnpq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f))
+    (home-page "https://github.com/Dentosal/wsl-rs";)
+    (synopsis
+     "Detect if the program is running under Windows Subsystem for Linux")
+    (description
+     "A library to detect if a program is running under Windows Subsystem for
+Linux.")
+    (license license:expat)))
+
-- 
2.41.0






reply via email to

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