gnu: rust-pango: Add 0.15.10.

* gnu/packages/crates-gtk.scm (rust-pango-0.15): New variable.
(rust-pango-0.14): Inherit from it.
This commit is contained in:
Marius Bakke 2022-07-25 15:19:15 +02:00
parent def0acd5e5
commit 713b289ff0
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -1645,8 +1645,41 @@ (define-public rust-gtk3-macros-0.14
library.")
(license license:expat)))
(define-public rust-pango-0.15
(package
(name "rust-pango")
(version "0.15.10")
(source
(origin
(method url-fetch)
(uri (crate-uri "pango" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0ksf85fqkw4y5pf21p84g5xn4fnqn21cbrmx2d9yx6k591ah9r12"))))
(build-system cargo-build-system)
(arguments
`(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display`
#:tests? #f
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-glib" ,rust-glib-0.15)
("rust-libc" ,rust-libc-0.2)
("rust-once-cell" ,rust-once-cell-1)
("rust-pango-sys" ,rust-pango-sys-0.15))
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(native-inputs
(list pkg-config))
(inputs
(list pango))
(home-page "https://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.14
(package
(inherit rust-pango-0.15)
(name "rust-pango")
(version "0.14.8")
(source
@ -1667,13 +1700,7 @@ (define-public rust-pango-0.14
("rust-once-cell" ,rust-once-cell-1)
("rust-pango-sys" ,rust-pango-sys-0.14))
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(inputs
(list 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.9
(package