me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-winit-0.20.

* gnu/packages/crates-io.scm (rust-winit-0.20): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
Valentin Ignatev 2020-02-02 02:41:00 +03:00 committed by Efraim Flashner
parent 3571af3e0f
commit 97d8c6cd15
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 61 additions and 0 deletions

View File

@ -20142,6 +20142,67 @@ color in a Windows console.")
(license (list license:unlicense (license (list license:unlicense
license:expat)))) license:expat))))
(define-public rust-winit-0.20
(package
(name "rust-winit")
(version "0.20.0-alpha6")
(source
(origin
(method url-fetch)
(uri (crate-uri "winit" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1g5cchl97zcg525j6jdr77yby8cmhwv1qqwcd3sf4l4zl263195z"))
(patches
(list
(origin
(method url-fetch)
(uri "https://github.com/rust-windowing/winit/commit/d1c6506865c7bddbb5fb4d80a613e43ddc1370b5.patch")
(file-name (string-append name "-fix-bindings.patch"))
(sha256
(base32
"03q4bvdq86kii53d0vsywv08g8vqirf9h1lz2cl6rcc7gjfynpds")))))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-android-glue" ,rust-android-glue-0.2)
("rust-bitflags" ,rust-bitflags-1)
("rust-calloop" ,rust-calloop-0.4)
("rust-cocoa" ,rust-cocoa-0.19)
("rust-core-foundation" ,rust-core-foundation-0.6)
("rust-core-graphics" ,rust-core-graphics-0.17)
("rust-core-video-sys" ,rust-core-video-sys-0.1)
("rust-dispatch" ,rust-dispatch-0.1)
("rust-instant" ,rust-instant-0.1)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
("rust-objc" ,rust-objc-0.2)
("rust-parking-lot" ,rust-parking-lot-0.10)
("rust-percent-encoding" ,rust-percent-encoding-2.1)
("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
("rust-serde" ,rust-serde-1.0)
("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6)
("rust-stdweb" ,rust-stdweb-0.4)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
("rust-wayland-client" ,rust-wayland-client-0.23)
("rust-web-sys" ,rust-web-sys-0.3)
("rust-winapi" ,rust-winapi-0.3)
("rust-x11-dl" ,rust-x11-dl-2))
#:cargo-development-inputs
(("rust-console-log" ,rust-console-log-0.1)
("rust-env-logger" ,rust-env-logger-0.5)
("rust-image" ,rust-image-0.21))))
(home-page "https://github.com/rust-windowing/winit")
(synopsis
"Cross-platform window creation library")
(description
"Cross-platform window creation library.")
(license license:asl2.0)))
(define-public rust-winpty-sys-0.4 (define-public rust-winpty-sys-0.4
(package (package
(name "rust-winpty-sys") (name "rust-winpty-sys")