[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
416/471: gnu: Add rust-sdl2-sys-0.35.
From: |
guix-commits |
Subject: |
416/471: gnu: Add rust-sdl2-sys-0.35. |
Date: |
Wed, 3 May 2023 09:29:09 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 60b4af0fed16661e09dd35709530dafa02449b9c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 24 16:03:31 2023 +0300
gnu: Add rust-sdl2-sys-0.35.
* gnu/packages/crates-graphics.scm (rust-sdl2-sys-0.35): New variable.
---
gnu/packages/crates-graphics.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 2904a080cb..b2947eb6c2 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2239,6 +2239,37 @@ implements standard Rust traits to make `RGB`/`RGBA`
pixels and slices
first-class Rust objects.")
(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
(package
(name "rust-smithay-client-toolkit")
- 356/471: gnu: rust-1.68: Update to 1.68.2., (continued)
- 356/471: gnu: rust-1.68: Update to 1.68.2., guix-commits, 2023/05/03
- 358/471: gnu: rust-curl-sys-0.4: Update to 0.4.61+curl-8.0.1., guix-commits, 2023/05/03
- 359/471: gnu: rust-lexopt: Update to 0.3.0., guix-commits, 2023/05/03
- 360/471: gnu: rust-once-cell-1: Update to 1.17.1., guix-commits, 2023/05/03
- 363/471: gnu: rust-boxxy-0.11: Update to 0.12.1., guix-commits, 2023/05/03
- 369/471: gnu: rust-syscallz-0.15: Update to 0.16.2., guix-commits, 2023/05/03
- 376/471: gnu: Add rust-block2-0.2., guix-commits, 2023/05/03
- 380/471: gnu: Add rust-objc2-proc-macros-0.1., guix-commits, 2023/05/03
- 382/471: gnu: Add rust-objc2-0.3., guix-commits, 2023/05/03
- 412/471: gnu: rust-notify-5: Update to 5.1.0., guix-commits, 2023/05/03
- 416/471: gnu: Add rust-sdl2-sys-0.35.,
guix-commits <=
- 453/471: gnu: rust-rustls-0.17: Skip the tests., guix-commits, 2023/05/03
- 450/471: gnu: rust-bindgen-0.59: Add missing inputs., guix-commits, 2023/05/03
- 459/471: gnu: rust-security-framework-0.2: Skip build., guix-commits, 2023/05/03
- 458/471: gnu: rust-criterion-0.3: Update to 0.3.6., guix-commits, 2023/05/03
- 234/471: gnu: Add rust-built-0.5., guix-commits, 2023/05/03
- 235/471: gnu: Add rust-bindgen-0.61., guix-commits, 2023/05/03
- 333/471: gnu: Add rust-bitvec-1., guix-commits, 2023/05/03
- 395/471: gnu: rust-x11-dl-2: Update to 2.21.0., guix-commits, 2023/05/03
- 375/471: gnu: alacritty: Update to 0.12.0., guix-commits, 2023/05/03
- 374/471: gnu: rust-cargo-edit: Fix build., guix-commits, 2023/05/03