diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-04 16:16:42 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-05 14:45:09 +0100 |
commit | eb6d797ee5a1df7e52aa08917da49eaac0866c06 (patch) | |
tree | 0e0391d437c982c4bbfb23ca9ac2ac82a8207adf /gnu | |
parent | aca8767a3b4c57559ca2e68406399b8e4c0a0a91 (diff) | |
download | guix-eb6d797ee5a1df7e52aa08917da49eaac0866c06.tar.gz |
gnu: Add rust-pango-sys-0.10.
* gnu/packages/crates-gtk.scm (rust-pango-sys-0.10): New variable. (rust-pango-sys-0.9): inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 52 |
1 files changed, 35 insertions, 17 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 267b714331..28935d1fe9 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -633,22 +633,46 @@ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) +(define-public rust-pango-sys-0.10 + (package + (name "rust-pango-sys") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pango-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1468xzyk2wanxb2b32fsmwk6bnafdaicxl5b4301dlb2ic66bli4")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-glib-sys" ,rust-glib-sys-0.10) + ("rust-gobject-sys" ,rust-gobject-sys-0.10) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-1)))) + (inputs + `(("pango" ,pango))) + (home-page "http://gtk-rs.org/") + (synopsis "FFI bindings to libpango-1.0") + (description "This package provides FFI bindings to @code{libpango-1.0}.") + (license license:expat))) + (define-public rust-pango-sys-0.9 (package + (inherit rust-pango-sys-0.10) (name "rust-pango-sys") (version "0.9.1") (source - (origin - (method url-fetch) - (uri (crate-uri "pango-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0zdynikh6jrfa31fpmbrwnz46a57idci73zzkf0z0g3vj223vfc6")))) - (build-system cargo-build-system) + (origin + (method url-fetch) + (uri (crate-uri "pango-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zdynikh6jrfa31fpmbrwnz46a57idci73zzkf0z0g3vj223vfc6")))) (arguments - `(#:tests? #f ; Some test files not included in release. + `(#:tests? #f ; Some test files not included in release. #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) @@ -656,13 +680,7 @@ ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) - ("rust-tempfile" ,rust-tempfile-3)))) - (inputs - `(("pango" ,pango))) - (home-page "https://gtk-rs.org/") - (synopsis "FFI bindings to libpango-1.0") - (description "This package provides FFI bindings to @code{libpango-1.0}.") - (license license:expat))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-pangocairo-0.9 (package |