mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
gnu: Add rust-winapi-0.3.
* gnu/packages/rust-cbindgen.scm (rust-winapi-0.3): New hidden variable.
This commit is contained in:
parent
e08ba87e6c
commit
cec27a23fe
1 changed files with 26 additions and 0 deletions
|
@ -881,6 +881,32 @@ (define rust-vec-map-0.8
|
||||||
(license (list license:asl2.0
|
(license (list license:asl2.0
|
||||||
license:expat))))
|
license:expat))))
|
||||||
|
|
||||||
|
(define rust-winapi-0.3
|
||||||
|
(package
|
||||||
|
(name "rust-winapi")
|
||||||
|
(version "0.3.8")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "winapi" version))
|
||||||
|
(file-name (string-append name "-" version ".crate"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1ii9j9lzrhwri0902652awifzx9fpayimbp6hfhhc296xcg0k4w0"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
;; This package depends unconditionally on these two crates.
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("winapi-i686-pc-windows-gnu" ,rust-winapi-i686-pc-windows-gnu-0.4)
|
||||||
|
("winapi-x86-64-pc-windows-gnu" ,rust-winapi-x86-64-pc-windows-gnu-0.4))))
|
||||||
|
(home-page "https://github.com/retep998/winapi-rs")
|
||||||
|
(synopsis "Raw FFI bindings for all of Windows API")
|
||||||
|
(description
|
||||||
|
"This package contains raw FFI bindings for all of Windows API.")
|
||||||
|
(properties '((hidden? . #t)))
|
||||||
|
(license (list license:asl2.0
|
||||||
|
license:expat))))
|
||||||
|
|
||||||
(define-public rust-winapi-i686-pc-windows-gnu-0.4
|
(define-public rust-winapi-i686-pc-windows-gnu-0.4
|
||||||
(package
|
(package
|
||||||
(name "rust-winapi-i686-pc-windows-gnu")
|
(name "rust-winapi-i686-pc-windows-gnu")
|
||||||
|
|
Loading…
Reference in a new issue