diff options
author | Petr Hodina <phodina@protonmail.com> | 2022-01-10 19:21:09 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-21 00:44:18 +0100 |
commit | e5a9b9a1ed0d1aa22b38eabe07e52dff39a6278e (patch) | |
tree | f30002ee248c77e13989d85c352cbd8097341951 | |
parent | 87b9018adb201537a87ce75c537e535cd60ab364 (diff) | |
download | guix-e5a9b9a1ed0d1aa22b38eabe07e52dff39a6278e.tar.gz |
gnu: Add rust-pango-sys-0.14.
* gnu/packages/crates-gtk.scm (rust-pango-sys-0.14): New variable. (rust-pango-sys-0.10): Inherit from above.
-rw-r--r-- | gnu/packages/crates-gtk.scm | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 9d6951acdd..e9c4ffed06 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1191,25 +1191,26 @@ library.") #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) -(define-public rust-pango-sys-0.10 +(define-public rust-pango-sys-0.14 (package (name "rust-pango-sys") - (version "0.10.0") + (version "0.14.0") (source (origin (method url-fetch) (uri (crate-uri "pango-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1468xzyk2wanxb2b32fsmwk6bnafdaicxl5b4301dlb2ic66bli4")))) + (base32 "1zj236n9kjldf47wwlxvhshwm5zhg589a0fml5mm8qg7lnf0jrr3")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:skip-build? + #t #:cargo-inputs - (("rust-glib-sys" ,rust-glib-sys-0.10) - ("rust-gobject-sys" ,rust-gobject-sys-0.10) + (("rust-glib-sys" ,rust-glib-sys-0.14) + ("rust-gobject-sys" ,rust-gobject-sys-0.14) ("rust-libc" ,rust-libc-0.2) - ("rust-system-deps" ,rust-system-deps-1)))) + ("rust-system-deps" ,rust-system-deps-3)))) (inputs (list pango)) (home-page "https://gtk-rs.org/") @@ -1217,6 +1218,26 @@ library.") (description "This package provides FFI bindings to @code{libpango-1.0}.") (license license:expat))) +(define-public rust-pango-sys-0.10 + (package + (inherit rust-pango-sys-0.14) + (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")))) + (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)))))) + (define-public rust-pango-sys-0.9 (package (inherit rust-pango-sys-0.10) |