diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 34 |
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) |