Subject: [PATCH 14/21] gnu: Add rust-wsl-0.1.

From: Jaeme Sifat <[email-masked]>
Date: Sat, 28 Oct 2023 18:53:34 -0400

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

Signed-off-by: Jaeme Sifat <[email-masked]>
Change-Id: Iff92993f04acc771d5c942548160041275d6d515
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f6b008baf8..4d9fdb9a50 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84329,6 +84329,28 @@ (define-public rust-ws2-32-sys-0.2
      "Contains function definitions for the Windows API library ws2_32.")
     (license license:expat)))
 
+(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
+     `(#:skip-build? #t))
+    (home-page "https://github.com/Dentosal/wsl-rs")
+    (synopsis
+     "Detect if the program is running under Windows Subsystem for Linux")
+    (description
+     "This package detects if the program is running under Windows Subsystem
+for Linux")
+    (license license:expat)))
+
 (define-public rust-wycheproof-0.5
   (package
     (name "rust-wycheproof")
-- 
2.41.0