gnu: Add rust-deelevate-0.2.

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

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Jordan Moore 2024-12-02 21:59:58 -05:00 committed by Efraim Flashner
parent 8d60457a41
commit 32851253e2
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -269,6 +269,31 @@ (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
`(#:skip-build? #t ;; Depends on Windows
#: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")