[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
428/459: gnu: Add rust-sdl2-0.35.
From: |
guix-commits |
Subject: |
428/459: gnu: Add rust-sdl2-0.35. |
Date: |
Mon, 24 Apr 2023 15:04:16 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 7f8a989a46fd2a31ba275e615719cfaf434e64ae
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 24 16:04:00 2023 +0300
gnu: Add rust-sdl2-0.35.
* gnu/packages/crates-graphics.scm (rust-sdl2-0.35): New variable.
---
gnu/packages/crates-graphics.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index b2947eb6c2..2a9eecc586 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2239,6 +2239,31 @@ implements standard Rust traits to make `RGB`/`RGBA`
pixels and slices
first-class Rust objects.")
(license license:expat)))
+(define-public rust-sdl2-0.35
+ (package
+ (name "rust-sdl2")
+ (version "0.35.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "sdl2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
"06ivcavxhc7zyhbfmy2544dz0lnaqf33d9xf0jggpw93nrvr55gp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; Building requires several SDL2 inputs.
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-c-vec" ,rust-c-vec-2)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-raw-window-handle" ,rust-raw-window-handle-0.4)
+ ("rust-sdl2-sys" ,rust-sdl2-sys-0.35))))
+ (home-page "https://github.com/Rust-SDL2/rust-sdl2")
+ (synopsis "SDL2 bindings for Rust")
+ (description "This package provides SDL2 bindings for Rust.")
+ (license license:expat)))
+
(define-public rust-sdl2-sys-0.35
(package
(name "rust-sdl2-sys")
- 398/459: gnu: rust-wayland-egl-0.29: Update to 0.29.5., (continued)
- 398/459: gnu: rust-wayland-egl-0.29: Update to 0.29.5., guix-commits, 2023/04/24
- 402/459: gnu: Add rust-wayland-sys-0.30., guix-commits, 2023/04/24
- 406/459: gnu: rust-x11-dl-2: Update to 2.21.0., guix-commits, 2023/04/24
- 404/459: gnu: rust-core-graphics-0.22: Update to 0.22.3., guix-commits, 2023/04/24
- 407/459: gnu: Add rust-winit-0.28., guix-commits, 2023/04/24
- 412/459: gnu: rust-smithay-clipboard-0.6: Update to 0.6.6., guix-commits, 2023/04/24
- 418/459: gnu: rust-alacritty-terminal-0.15: Update to 0.18.0., guix-commits, 2023/04/24
- 423/459: gnu: rust-notify-5: Update to 5.1.0., guix-commits, 2023/04/24
- 424/459: gnu: Add rust-nix-0.25., guix-commits, 2023/04/24
- 427/459: gnu: Add rust-sdl2-sys-0.35., guix-commits, 2023/04/24
- 428/459: gnu: Add rust-sdl2-0.35.,
guix-commits <=
- 432/459: gnu: rust-serde-json-1: Update to 1.0.96., guix-commits, 2023/04/24
- 433/459: gnu: rust-serde-test-1: Update to 1.0.160., guix-commits, 2023/04/24
- 434/459: gnu: Add rust-anstyle-0.2., guix-commits, 2023/04/24
- 437/459: gnu: Add rust-glutin-egl-sys-0.4., guix-commits, 2023/04/24
- 439/459: gnu: Add rust-glutin-glx-sys-0.4., guix-commits, 2023/04/24
- 442/459: gnu: Add rust-redox-syscall-0.3., guix-commits, 2023/04/24
- 444/459: gnu: Add rust-slotmap-1., guix-commits, 2023/04/24
- 447/459: gnu: Add rust-android-properties-0.2., guix-commits, 2023/04/24
- 448/459: gnu: Add rust-ndk-sys-0.4., guix-commits, 2023/04/24
- 451/459: gnu: Add rust-ttf-parser-0.19., guix-commits, 2023/04/24