[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
403/475: gnu: Add rust-x11rb-0.10.
From: |
guix-commits |
Subject: |
403/475: gnu: Add rust-x11rb-0.10. |
Date: |
Sun, 7 May 2023 12:48:25 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 251c2620f4d4e482654b8670f9cb57a5cf3dac0d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Apr 23 17:54:36 2023 +0300
gnu: Add rust-x11rb-0.10.
* gnu/packages/crates-graphics.scm (rust-x11rb-0.10): New variable.
(rust-x11rb-0.8): Inherit from rust-x11rb-0.10.
---
gnu/packages/crates-graphics.scm | 35 +++++++++++++++++++++++++++++------
1 file changed, 29 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index a587c11b3a..638069d624 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -3582,8 +3582,36 @@ the platform-specific getters provided by winit, or
another library.")
(description "This crate provides X11 library bindings for Rust.")
(license license:expat)))
+(define-public rust-x11rb-0.10
+ (package
+ (name "rust-x11rb")
+ (version "0.10.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "x11rb" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "01ympxagdl0qs35k1ww712shpnpbahkcc29j5dqmwd4z461lhasr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-gethostname" ,rust-gethostname-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libloading" ,rust-libloading-0.7)
+ ("rust-nix" ,rust-nix-0.24)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1)
+ ("rust-x11rb-protocol" ,rust-x11rb-protocol-0.10))))
+ (home-page "https://github.com/psychon/x11rb")
+ (synopsis "Rust bindings to X11")
+ (description "This package provides Rust bindings to X11")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-x11rb-0.8
(package
+ (inherit rust-x11rb-0.10)
(name "rust-x11rb")
(version "0.8.1")
(source
@@ -3593,7 +3621,6 @@ the platform-specific getters provided by winit, or
another library.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "068g5ll4l5f35c2v098hj0kj2c9ma0r7v3pbli164q9g7w5hiyvg"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -3603,11 +3630,7 @@ the platform-specific getters provided by winit, or
another library.")
("rust-nix" ,rust-nix-0.20)
("rust-once-cell" ,rust-once-cell-1)
("rust-winapi" ,rust-winapi-0.3)
- ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1))))
- (home-page "https://github.com/psychon/x11rb")
- (synopsis "Rust bindings to X11")
- (description "This package provides Rust bindings to X11")
- (license (list license:expat license:asl2.0))))
+ ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1))))))
(define-public rust-x11-clipboard-0.7
(package
- 462/475: gnu: rust-tokio-rustls-0.23: Add missing input., (continued)
- 462/475: gnu: rust-tokio-rustls-0.23: Add missing input., guix-commits, 2023/05/07
- 458/475: gnu: rust-criterion-0.3: Update to 0.3.6., guix-commits, 2023/05/07
- 455/475: gnu: rust-selectors-0.21: Fix cargo inputs., guix-commits, 2023/05/07
- 472/475: gnu: librsvg-for-system: Choose librsvg based on package support., guix-commits, 2023/05/07
- 453/475: gnu: rust-rustls-0.17: Skip the tests., guix-commits, 2023/05/07
- 471/475: gnu: rust: Re-enable aarch64-linux support., guix-commits, 2023/05/07
- 468/475: gnu: rust-hashbrown-0.8: Update to 0.8.2., guix-commits, 2023/05/07
- 340/475: gnu: Add rust-syn-2., guix-commits, 2023/05/07
- 378/475: gnu: Add rust-objc-sys-0.3., guix-commits, 2023/05/07
- 405/475: gnu: rust-alacritty-config-derive-0.1: Update to 0.2.1., guix-commits, 2023/05/07
- 403/475: gnu: Add rust-x11rb-0.10.,
guix-commits <=
- 366/475: gnu: Add rust-nom-derive-impl-0.10., guix-commits, 2023/05/07
- 344/475: gnu: rust-syn-1: Update to 1.0.109., guix-commits, 2023/05/07
- 402/475: gnu: Add rust-x11-clipboard-0.7., guix-commits, 2023/05/07
- 387/475: gnu: rust-wayland-egl-0.29: Update to 0.29.5., guix-commits, 2023/05/07
- 351/475: gnu: Add rust-windows-0.46., guix-commits, 2023/05/07
- 409/475: gnu: rust-servo-fontconfig-sys-5: Don't skip build., guix-commits, 2023/05/07
- 347/475: gnu: Add rust-test-strategy-0.2., guix-commits, 2023/05/07
- 429/475: gnu: Add rust-android-activity-0.4., guix-commits, 2023/05/07
- 428/475: gnu: Add rust-glutin-glx-sys-0.4., guix-commits, 2023/05/07
- 424/475: gnu: Add rust-winnow-0.4., guix-commits, 2023/05/07