summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-gtk.scm
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-01-10 19:48:41 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-21 00:44:24 +0100
commit881fb6e2e4a5024fe17c60dd28d8d007efffbe01 (patch)
treeb6c013a3dc3208c426f01b86210b0791673d34ab /gnu/packages/crates-gtk.scm
parent0f1b00f21bf39c51f1578b14ad824f8e4f6d8c9c (diff)
gnu: Add rust-cairo-sys-rs-0.14.
* gnu/packages/crates-gtk.scm (rust-cairo-sys-rs-0.14): New variable. (rust-cairo-sys-rs-0.10): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
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 d6d6df555d..92f7c4392c 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -223,24 +223,25 @@
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3))))))
-(define-public rust-cairo-sys-rs-0.10
+(define-public rust-cairo-sys-rs-0.14
(package
(name "rust-cairo-sys-rs")
- (version "0.10.0")
+ (version "0.14.9")
(source
(origin
(method url-fetch)
(uri (crate-uri "cairo-sys-rs" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "19wch8zc11hbi724mn16hhqyff8kw5c5bsbdlzpxdwfmkadn7lif"))))
+ (base32 "0w3md4xk87ign30wb3rqfmmj0q6pvg5arbm35flgsd08jxvbhj5l"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:skip-build?
+ #t
#:cargo-inputs
- (("rust-glib-sys" ,rust-glib-sys-0.10)
+ (("rust-glib-sys" ,rust-glib-sys-0.14)
("rust-libc" ,rust-libc-0.2)
- ("rust-system-deps" ,rust-system-deps-1)
+ ("rust-system-deps" ,rust-system-deps-3)
("rust-winapi" ,rust-winapi-0.3)
("rust-x11" ,rust-x11-2))))
(inputs
@@ -250,6 +251,27 @@
(description "This package provides FFI bindings to libcairo.")
(license license:expat)))
+(define-public rust-cairo-sys-rs-0.10
+ (package
+ (inherit rust-cairo-sys-rs-0.14)
+ (name "rust-cairo-sys-rs")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cairo-sys-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19wch8zc11hbi724mn16hhqyff8kw5c5bsbdlzpxdwfmkadn7lif"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.10)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-1)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-x11" ,rust-x11-2))))))
+
(define-public rust-cairo-sys-rs-0.9
(package
(inherit rust-cairo-sys-rs-0.10)