mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
gnu: Add rust-sdl2-sys-0.35.
* gnu/packages/crates-graphics.scm (rust-sdl2-sys-0.35): New variable.
This commit is contained in:
parent
e21988b503
commit
c55ce863aa
1 changed files with 31 additions and 0 deletions
|
@ -2239,6 +2239,37 @@ (define-public rust-rgb-0.8
|
||||||
first-class Rust objects.")
|
first-class Rust objects.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-sdl2-sys-0.35
|
||||||
|
(package
|
||||||
|
(name "rust-sdl2-sys")
|
||||||
|
(version "0.35.2")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "sdl2-sys" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1w7ranfpmbvsnviq0y8d1cz9pajp8c4b84lslycq02kcrzi6nn73"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin (delete-file-recursively "SDL")))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t ; Building requires several SDL2 inputs.
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-bindgen" ,rust-bindgen-0.53)
|
||||||
|
("rust-cfg-if" ,rust-cfg-if-1)
|
||||||
|
("rust-cmake" ,rust-cmake-0.1)
|
||||||
|
("rust-flate2" ,rust-flate2-1)
|
||||||
|
("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-pkg-config" ,rust-pkg-config-0.3)
|
||||||
|
("rust-vcpkg" ,rust-vcpkg-0.2)
|
||||||
|
("rust-version-compare" ,rust-version-compare-0.1))))
|
||||||
|
(home-page "https://github.com/rust-sdl2/rust-sdl2")
|
||||||
|
(synopsis "Raw SDL2 bindings for Rust, used internally rust-sdl2")
|
||||||
|
(description "This package provides raw SDL2 bindings for Rust, used
|
||||||
|
internally rust-sdl2.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-smithay-client-toolkit-0.16
|
(define-public rust-smithay-client-toolkit-0.16
|
||||||
(package
|
(package
|
||||||
(name "rust-smithay-client-toolkit")
|
(name "rust-smithay-client-toolkit")
|
||||||
|
|
Loading…
Reference in a new issue