[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/18: gnu: rust-xcb: Add 1.2.0.
From: |
guix-commits |
Subject: |
03/18: gnu: rust-xcb: Add 1.2.0. |
Date: |
Fri, 2 Dec 2022 16:48:39 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit 042ce76caf79e78f6ac37331242f92d1dd0b45fc
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Dec 1 18:06:50 2022 +0100
gnu: rust-xcb: Add 1.2.0.
* gnu/packages/crates-io.scm (rust-xcb-1): New variable.
(rust-xcb-0.9): Inherit from it.
---
gnu/packages/crates-io.scm | 43 +++++++++++++++++++++++++++++++++++++------
1 file changed, 37 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 17d5041d09..96cfecfef0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66,6 +66,7 @@
#:use-module (gnu packages databases)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gettext)
+ #:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages image)
#:use-module (gnu packages jemalloc)
@@ -67677,8 +67678,43 @@ extended attributes.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-xcb-1
+ (package
+ (name "rust-xcb")
+ (version "1.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "xcb" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ifnchjzf9xlwy6pfa90mwa6j43bx2bi5xl40m5gykymwbbv9bhg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-build-flags '("--all-features")
+ #:cargo-test-flags '("--all-features")
+ #:cargo-development-inputs
+ (("rust-gl" ,rust-gl-0.14)
+ ("rust-png" ,rust-png-0.17)
+ ("rust-x11" ,rust-x11-2))
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-quick-xml" ,rust-quick-xml-0.22)
+ ("rust-x11" ,rust-x11-2))))
+ (inputs
+ (list mesa)) ;required by rust-x11-2
+ (native-inputs
+ (list pkg-config))
+ (home-page "https://github.com/rust-x-bindings/rust-xcb")
+ (synopsis "Rust bindings and wrappers for XCB")
+ (description
+ "This package provides Rust bindings and wrappers for XCB.")
+ (license license:expat)))
+
(define-public rust-xcb-0.9
(package
+ (inherit rust-xcb-1)
(name "rust-xcb")
(version "0.9.0")
(source
@@ -67701,12 +67737,7 @@ extended attributes.")
(inputs
(list libx11 libxcb xcb-proto))
(native-inputs
- (list pkg-config python))
- (home-page "https://github.com/rtbo/rust-xcb")
- (synopsis "Rust bindings and wrappers for XCB")
- (description
- "This package provides Rust bindings and wrappers for XCB.")
- (license license:expat)))
+ (list pkg-config python))))
(define-public rust-xcursor-0.3
(package
- branch staging updated (e5455bef85 -> a4d34da18b), guix-commits, 2022/12/02
- 01/18: gnu: rust-pkg-config: Update to 0.3.26., guix-commits, 2022/12/02
- 02/18: gnu: rust-x11: Update to 2.20.1., guix-commits, 2022/12/02
- 04/18: gnu: rust-arbitrary: Update to 1.2.0., guix-commits, 2022/12/02
- 03/18: gnu: rust-xcb: Add 1.2.0.,
guix-commits <=
- 05/18: gnu: rust-tinyvec: Update to 1.6.0., guix-commits, 2022/12/02
- 06/18: gnu: Add rust-uuid-macro-internal., guix-commits, 2022/12/02
- 07/18: gnu: rust-crypto-common: Update to 0.1.6., guix-commits, 2022/12/02
- 08/18: gnu: rust-cookie: Move versions closer together., guix-commits, 2022/12/02
- 11/18: gnu: rust-bytemuck-derive: Update to 1.3.0., guix-commits, 2022/12/02
- 09/18: gnu: rust-const-oid: Add 0.9.1., guix-commits, 2022/12/02
- 12/18: gnu: rust-bytemuck: Update to 1.12.3., guix-commits, 2022/12/02
- 14/18: gnu: rust-bytecheck: Add 0.6.9., guix-commits, 2022/12/02
- 16/18: gnu: rust-rkyv: Add 0.7.39., guix-commits, 2022/12/02
- 17/18: gnu: Add rust-speedy., guix-commits, 2022/12/02