diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-04 15:50:10 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-05 14:45:10 +0100 |
commit | 5af6136a6a37cdac1950522cc0cda5dfa38fcbde (patch) | |
tree | c0ff03f49606ae1d82c63f01f561afe6548fead8 /gnu/packages/crates-gtk.scm | |
parent | eb6d797ee5a1df7e52aa08917da49eaac0866c06 (diff) | |
download | guix-5af6136a6a37cdac1950522cc0cda5dfa38fcbde.tar.gz |
gnu: Add rust-pango-0.9.
* gnu/packages/crates-gtk.scm (rust-pango-0.9): New variable. (rust-pango-0.8): inherit from above.
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 43 |
1 files changed, 34 insertions, 9 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 28935d1fe9..0c069dbfd2 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -572,8 +572,41 @@ "LGPL-licensed docs for Gtk-rs crates.") (license license:lgpl2.0))) +(define-public rust-pango-0.9 + (package + (name "rust-pango") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pango" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0f64hynd9vq6966wb66mrg5kq9q371bkhncp37nqrgdyh22hcdwr")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-glib" ,rust-glib-0.10) + ("rust-glib-sys" ,rust-glib-sys-0.10) + ("rust-gobject-sys" ,rust-gobject-sys-0.10) + ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pango-sys" ,rust-pango-sys-0.10)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (inputs + `(("pango" ,pango))) + (home-page "http://gtk-rs.org/") + (synopsis "Rust bindings for the Pango library") + (description "Rust bindings for the Pango library") + (license license:expat))) + (define-public rust-pango-0.8 (package + (inherit rust-pango-0.9) (name "rust-pango") (version "0.8.0") (source @@ -585,7 +618,6 @@ (sha256 (base32 "0xq50950il3228grzs4xvc5s6phxcl5l50grz6syvs0vixr6p70y")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -597,14 +629,7 @@ ("rust-pango-sys" ,rust-pango-sys-0.9) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) #:cargo-development-inputs - (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) - (inputs - `(("pango" ,pango))) - (home-page "https://gtk-rs.org/") - (synopsis "Rust bindings for the Pango library") - (description - "Rust bindings for the Pango library.") - (license license:expat))) + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-pango-0.7 (package |