diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 11:30:35 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:14 +0200 |
commit | 0922da22b2ed89b474158b3182abf14c5376ce14 (patch) | |
tree | edcdfb79d763bc7f944f7e0353913c977729c1db /gnu/packages/crates-graphics.scm | |
parent | ca9f95c361024d99a21d939619a0203c8610b9e4 (diff) | |
download | guix-0922da22b2ed89b474158b3182abf14c5376ce14.tar guix-0922da22b2ed89b474158b3182abf14c5376ce14.tar.gz |
gnu: Add rust-x11rb-protocol-0.13.
* gnu/packages/crates-graphics.scm (rust-x11rb-protocol-0.13): New
variable.
(rust-x11rb-protocol-0.10): Inherit from rust-x11rb-protocol-0.13.
Change-Id: Ib1cb3833ce23d239006dbe2c9e4c3a656faf1634
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 84d7cfe3db..cfb36d3b7b 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -4993,8 +4993,29 @@ the platform-specific getters provided by winit, or another library.") ("rust-winapi" ,rust-winapi-0.3) ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1)))))) +(define-public rust-x11rb-protocol-0.13 + (package + (name "rust-x11rb-protocol") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "x11rb-protocol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0d3cc2dr5fcx8asgrm31d7lrxpnbqi6kl5v3r71gx7xxp3272gp6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) + (home-page "https://github.com/psychon/x11rb") + (synopsis "Rust bindings to X11") + (description "Rust bindings to X11.") + (license (list license:expat license:asl2.0)))) + (define-public rust-x11rb-protocol-0.10 (package + (inherit rust-x11rb-protocol-0.13) (name "rust-x11rb-protocol") (version "0.10.0") (source (origin @@ -5004,17 +5025,12 @@ the platform-specific getters provided by winit, or another library.") (sha256 (base32 "0rxcpsmgrziwqy9ml81h8r1lwy422h1i5j3d007dpj8a3islbcjn")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-nix" ,rust-nix-0.24) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3)))) - (home-page "https://github.com/psychon/x11rb") - (synopsis "Rust bindings to X11") - (description "Rust bindings to X11") - (license (list license:expat license:asl2.0)))) + (("rust-criterion" ,rust-criterion-0.3)))))) (define-public rust-x11-clipboard-0.8 (package |