mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add rust-pango-0.14.
* gnu/packages/crates-gtk.scm (rust-pango-0.14): New variable. (rust-pango-0.10): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
e5a9b9a1ed
commit
7c48e19cd0
1 changed files with 32 additions and 8 deletions
|
@ -1105,8 +1105,39 @@ (define-public rust-gtk3-macros-0.14
|
|||
library.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-pango-0.14
|
||||
(package
|
||||
(name "rust-pango")
|
||||
(version "0.14.8")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "pango" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "10c5q8wl9gkjh323whq6pg9yfvr2vmz00f98z1d77jp506cdavsl"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build?
|
||||
#t
|
||||
#:cargo-inputs
|
||||
(("rust-bitflags" ,rust-bitflags-1)
|
||||
("rust-glib" ,rust-glib-0.14)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("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)))
|
||||
|
||||
(define-public rust-pango-0.9
|
||||
(package
|
||||
(inherit rust-pango-0.14)
|
||||
(name "rust-pango")
|
||||
(version "0.9.1")
|
||||
(source
|
||||
|
@ -1116,7 +1147,6 @@ (define-public rust-pango-0.9
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0f64hynd9vq6966wb66mrg5kq9q371bkhncp37nqrgdyh22hcdwr"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
|
@ -1129,13 +1159,7 @@ (define-public rust-pango-0.9
|
|||
("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
|
||||
(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.8
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue