diff options
author | Giacomo Leidi <goodoldpaul@autistici.org> | 2024-11-06 21:41:13 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:08 +0200 |
commit | ec8b70069e50f1275b5e012fc9f6cc9b00123569 (patch) | |
tree | b4bd30eb9f7e2f7768c9df48667bffd8ce0ced63 /gnu/packages/crates-gtk.scm | |
parent | a1febfa2afa204164ce4919cf4c07e03134925b2 (diff) | |
download | guix-ec8b70069e50f1275b5e012fc9f6cc9b00123569.tar.gz guix-ec8b70069e50f1275b5e012fc9f6cc9b00123569.zip |
gnu: Add rust-cairo-sys-rs-0.20.
* gnu/packages/crates-gtk.scm (rust-cairo-sys-rs-0.20): New variable.
(rust-cairo-sys-rs-0.19): Inherit from rust-cairo-sys-rs-0.20.
Change-Id: I5044a639615ae9f41b778ad690ba645f463043bd
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 6e6068ca2d..baacee596d 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -350,22 +350,22 @@ (("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-cairo-sys-rs-0.19 +(define-public rust-cairo-sys-rs-0.20 (package (name "rust-cairo-sys-rs") - (version "0.19.2") + (version "0.20.0") (source (origin (method url-fetch) (uri (crate-uri "cairo-sys-rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0r0yp0lph77lm4blrn6fvdmz2i3r8ibkkjg6nmwbvvv4jq8v6fzx")))) + (base32 "13x85l52nl2izmdb48zzpkhhh1a4dsgqlp8gys4n1f5r2kwr10j2")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.19) + `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.20) ("rust-libc" ,rust-libc-0.2) - ("rust-system-deps" ,rust-system-deps-6) + ("rust-system-deps" ,rust-system-deps-7) ("rust-windows-sys" ,rust-windows-sys-0.52) ("rust-x11" ,rust-x11-2)))) (native-inputs (list pkg-config)) @@ -375,6 +375,25 @@ (description "This package provides FFI bindings to libcairo.") (license license:expat))) +(define-public rust-cairo-sys-rs-0.19 + (package + (inherit rust-cairo-sys-rs-0.20) + (name "rust-cairo-sys-rs") + (version "0.19.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "cairo-sys-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0r0yp0lph77lm4blrn6fvdmz2i3r8ibkkjg6nmwbvvv4jq8v6fzx")))) + (arguments + `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.19) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6) + ("rust-windows-sys" ,rust-windows-sys-0.52) + ("rust-x11" ,rust-x11-2)))))) + (define-public rust-cairo-sys-rs-0.18 (package (inherit rust-cairo-sys-rs-0.19) |