mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 04:29:25 -05:00
gnu: Add rust-winapi.
* gnu/packages/crates-io.scm (rust-winapi): New variable.
This commit is contained in:
parent
07631e31b1
commit
c9093d2794
1 changed files with 26 additions and 0 deletions
|
@ -883,6 +883,32 @@ (define-public rust-wasm-bindgen-shared
|
||||||
(license (list license:asl2.0
|
(license (list license:asl2.0
|
||||||
license:expat))))
|
license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-winapi
|
||||||
|
(package
|
||||||
|
(name "rust-winapi")
|
||||||
|
(version "0.3.7")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "winapi" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0w7pbhcl087lkggxdflfp2i92rq89ahsfdkjkv44fgmiy9m3h3pi"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-winapi-i686-pc-windows-gnu"
|
||||||
|
,rust-winapi-i686-pc-windows-gnu)
|
||||||
|
("rust-winapi-x86-64-pc-windows-gnu"
|
||||||
|
,rust-winapi-x86-64-pc-windows-gnu))))
|
||||||
|
(home-page "https://github.com/retep998/winapi-rs")
|
||||||
|
(synopsis "Raw FFI bindings for all of Windows API.")
|
||||||
|
(description
|
||||||
|
"Raw FFI bindings for all of Windows API.")
|
||||||
|
(license (list license:asl2.0
|
||||||
|
license:expat))))
|
||||||
|
|
||||||
(define-public rust-winapi-i686-pc-windows-gnu
|
(define-public rust-winapi-i686-pc-windows-gnu
|
||||||
(package
|
(package
|
||||||
(name "rust-winapi-i686-pc-windows-gnu")
|
(name "rust-winapi-i686-pc-windows-gnu")
|
||||||
|
|
Loading…
Reference in a new issue