summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-windows.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-12-30 21:14:58 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-01-06 12:21:33 +0200
commit562d875207fcddf45c973a9dc44ecdfac20cdbe0 (patch)
tree747bf4fdd66f50063c431176a4cd04ba6821b5cb /gnu/packages/crates-windows.scm
parent6b69388858a9ce922fc303e8f8b86ce7d80db24f (diff)
gnu: Add rust-windows-service-0.7.
* gnu/packages/crates-windows.scm (rust-windows-service-0.7): New variable. Change-Id: I750838e8af0b5dbfbfb05b3a266992e60ce191a2
Diffstat (limited to 'gnu/packages/crates-windows.scm')
-rw-r--r--gnu/packages/crates-windows.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 90eb31544d8..3a7691c609b 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -2530,6 +2530,31 @@ Windows crate.")
#:cargo-development-inputs
(("rust-windows-bindgen" ,rust-windows-bindgen-0.57))))))
+(define-public rust-windows-service-0.7
+ (package
+ (name "rust-windows-service")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-service" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12lwc04rji06p8g8dhc5aps6cw3xbx6admzqxj8l0jkkgz66nkfj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; unresolved import `windows_service::service`
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-widestring" ,rust-widestring-1)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
+ (home-page "https://github.com/mullvad/windows-service-rs")
+ (synopsis
+ "Facilities for management and implementation of Windows services")
+ (description
+ "This package provides a crate that provides facilities for management and
+implementation of Windows services.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-windows-strings-0.1
(package
(name "rust-windows-strings")