aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-09-18 14:08:24 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:04:19 +0200
commita8c752e02edf0afe53eb57adbb25cd37c3970666 (patch)
tree101127dbcc90ee5236c09e598f736ee0c12fddbb /gnu/packages
parentdfd1ccfbe63ffe708bb98a85b920de349dd3807e (diff)
downloadguix-a8c752e02edf0afe53eb57adbb25cd37c3970666.tar.gz
guix-a8c752e02edf0afe53eb57adbb25cd37c3970666.zip
gnu: Add rust-cairo-sys-rs-0.19.
* gnu/packages/crates-gtk.scm (rust-cairo-sys-rs-0.19): New variable. (rust-cairo-sys-rs-0.18): Inherit from rust-cairo-sys-rs-0.19. Change-Id: Ida85dd2167a1bd24de73283078b6032d18ae3095
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-gtk.scm29
1 files changed, 24 insertions, 5 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 4447a4e848..39d7797ac5 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -350,23 +350,23 @@
(("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
-(define-public rust-cairo-sys-rs-0.18
+(define-public rust-cairo-sys-rs-0.19
(package
(name "rust-cairo-sys-rs")
- (version "0.18.2")
+ (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 "0lfsxl7ylw3phbnwmz3k58j1gnqi6kc2hdc7g3bb7f4hwnl9yp38"))))
+ (base32 "0r0yp0lph77lm4blrn6fvdmz2i3r8ibkkjg6nmwbvvv4jq8v6fzx"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.19)
("rust-libc" ,rust-libc-0.2)
("rust-system-deps" ,rust-system-deps-6)
- ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-windows-sys" ,rust-windows-sys-0.52)
("rust-x11" ,rust-x11-2))))
(native-inputs (list pkg-config))
(inputs (list cairo))
@@ -375,6 +375,25 @@
(description "This package provides FFI bindings to libcairo.")
(license license:expat)))
+(define-public rust-cairo-sys-rs-0.18
+ (package
+ (inherit rust-cairo-sys-rs-0.19)
+ (name "rust-cairo-sys-rs")
+ (version "0.18.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cairo-sys-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0lfsxl7ylw3phbnwmz3k58j1gnqi6kc2hdc7g3bb7f4hwnl9yp38"))))
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-x11" ,rust-x11-2))))))
+
(define-public rust-cairo-sys-rs-0.17
(package
(inherit rust-cairo-sys-rs-0.18)