aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-gtk.scm
diff options
context:
space:
mode:
authorGiacomo Leidi <goodoldpaul@autistici.org>2024-11-06 21:41:16 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:08 +0200
commit36d45d2b847600181e71d1f3930fb4e1e6f967c7 (patch)
tree280a9fc14b70f5a2aa8700213a2a16f75ab2052c /gnu/packages/crates-gtk.scm
parentf2cbff8e53e1105cf14c23106f77bb75e269ef2c (diff)
downloadguix-36d45d2b847600181e71d1f3930fb4e1e6f967c7.tar.gz
guix-36d45d2b847600181e71d1f3930fb4e1e6f967c7.zip
gnu: Add rust-cairo-rs-0.20.
* gnu/packages/crates-gtk.scm (rust-cairo-rs-0.20): New variable. (rust-cairo-rs-0.19): Inherit from rust-cairo-rs-0.20. Change-Id: Ib808c67be8bb32b36d76baf763d8d0d7feb39736
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r--gnu/packages/crates-gtk.scm34
1 files changed, 28 insertions, 6 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index baacee596d..c182f3ae03 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -172,23 +172,23 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
-(define-public rust-cairo-rs-0.19
+(define-public rust-cairo-rs-0.20
(package
(name "rust-cairo-rs")
- (version "0.19.4")
+ (version "0.20.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "cairo-rs" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0qp5rixgipdj9d8yd5458hzfxam1rgpzcxi90vq6q0v91r6jmb5j"))))
+ (base32 "0s9yafifi3pwf7jck0bhgwr4rlg483sqhlr32fb8q44lghafm878"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
- ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.19)
- ("rust-freetype-rs" ,rust-freetype-rs-0.35)
- ("rust-glib" ,rust-glib-0.19)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.20)
+ ("rust-freetype-rs" ,rust-freetype-rs-0.37)
+ ("rust-glib" ,rust-glib-0.20)
("rust-libc" ,rust-libc-0.2)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs (("rust-float-eq" ,rust-float-eq-1)
@@ -200,6 +200,28 @@
(description "This package provides Rust bindings for the Cairo library.")
(license license:expat)))
+(define-public rust-cairo-rs-0.19
+ (package
+ (inherit rust-cairo-rs-0.20)
+ (name "rust-cairo-rs")
+ (version "0.19.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cairo-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qp5rixgipdj9d8yd5458hzfxam1rgpzcxi90vq6q0v91r6jmb5j"))))
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.19)
+ ("rust-freetype-rs" ,rust-freetype-rs-0.35)
+ ("rust-glib" ,rust-glib-0.19)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs (("rust-float-eq" ,rust-float-eq-1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-cairo-rs-0.18
(package
(inherit rust-cairo-rs-0.19)