gnu: Add rust-pangocairo-0.18.
* gnu/packages/crates-gtk.scm (rust-pangocairo-0.18): New variable. (rust-pangocairo-0.17): Inherit from rust-pangocairo-0.18. Change-Id: Ic7df4167f4e672988660f190f346817bfa7f717cmaster
parent
16f75c7471
commit
add9501e53
|
@ -3054,8 +3054,37 @@ library.")
|
|||
(("rust-shell-words" ,rust-shell-words-0.1)
|
||||
("rust-tempfile" ,rust-tempfile-3))))))
|
||||
|
||||
(define-public rust-pangocairo-0.18
|
||||
(package
|
||||
(name "rust-pangocairo")
|
||||
(version "0.18.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "pangocairo" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "199qdgw5mf1vbqmslscy1qzz0szw2dcd21p6z61wzjngm64na0sp"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.18)
|
||||
("rust-glib" ,rust-glib-0.18)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-pango" ,rust-pango-0.18)
|
||||
("rust-pangocairo-sys" ,rust-pangocairo-sys-0.18))
|
||||
#: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 PangoCairo library")
|
||||
(description
|
||||
"This package provides Rust bindings for the @code{PangoCairo} library.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-pangocairo-0.17
|
||||
(package
|
||||
(inherit rust-pangocairo-0.18)
|
||||
(name "rust-pangocairo")
|
||||
(version "0.17.10")
|
||||
(source
|
||||
|
@ -3065,7 +3094,6 @@ library.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1kr2b31034b8zif4r3lf4rniqphk2bxi2q7n8iwq2wrf3k5jkgw6"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display`
|
||||
#:tests? #f
|
||||
|
@ -3077,16 +3105,7 @@ library.")
|
|||
("rust-pango" ,rust-pango-0.17)
|
||||
("rust-pangocairo-sys" ,rust-pangocairo-sys-0.17))
|
||||
#: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 PangoCairo library")
|
||||
(description
|
||||
"This package provides Rust bindings for the @code{PangoCairo} library.")
|
||||
(license license:expat)))
|
||||
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
|
||||
|
||||
(define-public rust-pangocairo-0.15
|
||||
(package
|
||||
|
|
Reference in New Issue