summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-windows.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-27 15:10:56 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:59 +0200
commitc491da2d4af02bddcc9e0485590ad043bf2b7521 (patch)
tree47aa918b442cb4a006dc6282afcda257760724df /gnu/packages/crates-windows.scm
parentfe576da503a424e8ca28b17127cb7a2680c6582e (diff)
gnu: rust-kernel32-sys-0.2: Move to (gnu packages crates-windows).
* gnu/packages/crates-io.scm (rust-kernel32-sys-0.2): Move from here ... * gnu/packages/crates-windows.scm: ... to here. Change-Id: I2b2e3078836618dddf7c332848cb67eee3bd171f
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 576bfbe807..d19b9658aa 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1,4 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2019, 2020, 2022, 2023 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com>
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
@@ -308,6 +310,29 @@ network configuration for Windows.")
("rust-winapi" ,rust-winapi-0.3)
("rust-winreg" ,rust-winreg-0.6))))))
+(define-public rust-kernel32-sys-0.2
+ (package
+ (name "rust-kernel32-sys")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "kernel32-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1389av0601a9yz8dvx5zha9vmkd6ik7ax0idpb032d28555n41vm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-winapi" ,rust-winapi-0.2)
+ ("rust-winapi-build" ,rust-winapi-build-0.1))))
+ (home-page "https://github.com/retep998/winapi-rs")
+ (synopsis "Function definitions for the Windows API library kernel32")
+ (description "Contains function definitions for the Windows API library
+kernel32.")
+ (license license:expat)))
(define-public rust-windows-0.48
(package