guix-patches
[Top][All Lists]
Advanced

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

[bug#74551] [PATCH v2 01/49] gnu: Add rust-deelevate-0.2.


From: Jordan Moore
Subject: [bug#74551] [PATCH v2 01/49] gnu: Add rust-deelevate-0.2.
Date: Sat, 30 Nov 2024 11:54:36 -0500

* gnu/packages/crates-windows.scm (rust-deelevate-0.2): New variable.

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

diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 7437ce91c7..d89135bcee 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -272,6 +272,30 @@ (define-public rust-conpty-0.5
      "This package provides a library which provides an interface for 
@code{ConPTY}.")
     (license license:expat)))
 
+(define-public rust-deelevate-0.2
+  (package
+    (name "rust-deelevate")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "deelevate" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0kj2kcqv47l3iacpamgzbn742yf9d09h0xgwbadxs1l9qkw9fwqw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-pathsearch" ,rust-pathsearch-0.2)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-shared-library" ,rust-shared-library-0.1)
+                       ("rust-termwiz" ,rust-termwiz-0.15)
+                       ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://crates.io/crates/deelevate";)
+    (synopsis "Drop privileges on Windows")
+    (description "This package provides Drop privileges on Windows.")
+    (license license:expat)))
+
 (define-public rust-dunce-1
   (package
     (name "rust-dunce")
-- 
2.46.0






reply via email to

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