diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-04 15:57:08 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-05 14:45:11 +0100 |
commit | a2f1943493e87118579ab5da04713db45f774e0a (patch) | |
tree | c834b269d3463a5e0c607e24ed54c69c41a203a8 /gnu/packages/crates-gtk.scm | |
parent | e4af004f88b5058affc036dd60ddcdd33155518c (diff) |
gnu: Add rust-cairo-sys-rs-0.10.
* gnu/packages/crates-gtk.scm (rust-cairo-sys-rs-0.10): New variable.
(rust-cairo-sys-rs-0.9): inherit from above.
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 49 |
1 files changed, 34 insertions, 15 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 2ccd3a083b..4a3d2bb50a 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -152,34 +152,53 @@ #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-cairo-sys-rs-0.9 +(define-public rust-cairo-sys-rs-0.10 (package (name "rust-cairo-sys-rs") - (version "0.9.2") + (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 - "0qsdy6s57yvscg2rfm7wdqrlhzbn1aq9lhk3dy1vw5f7r81blrgz")))) + (origin + (method url-fetch) + (uri (crate-uri "cairo-sys-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19wch8zc11hbi724mn16hhqyff8kw5c5bsbdlzpxdwfmkadn7lif")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-glib-sys" ,rust-glib-sys-0.9) + `(#: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) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) + ("rust-x11" ,rust-x11-2)))) (inputs `(("cairo" ,cairo))) - (home-page "https://gtk-rs.org/") + (home-page "http://gtk-rs.org/") (synopsis "FFI bindings to libcairo") (description "This package provides FFI bindings to libcairo.") (license license:expat))) +(define-public rust-cairo-sys-rs-0.9 + (package + (inherit rust-cairo-sys-rs-0.10) + (name "rust-cairo-sys-rs") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "cairo-sys-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qsdy6s57yvscg2rfm7wdqrlhzbn1aq9lhk3dy1vw5f7r81blrgz")))) + (arguments + `(#:cargo-inputs + (("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-x11" ,rust-x11-2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + (define-public rust-gdk-pixbuf-0.8 (package (name "rust-gdk-pixbuf") |