me
/
guix
Archived
1
0
Fork 0

gnu: rust-pango-sys: Add 0.15.

* gnu/packages/crates-gtk.scm (rust-pango-sys-0.15): New variable.
(rust-pango-sys-0.14): Inherit from it.
master
Marius Bakke 2022-07-25 15:17:47 +02:00
parent 01c410a440
commit def0acd5e5
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 32 additions and 8 deletions

View File

@ -1755,8 +1755,39 @@ library.")
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-pango-sys-0.15
(package
(name "rust-pango-sys")
(version "0.15.10")
(source
(origin
(method url-fetch)
(uri (crate-uri "pango-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1an3c931kbkr08n9d9d1dapsq3n26zs0xn4ixn11jrp4rn0h186j"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-glib-sys" ,rust-glib-sys-0.15)
("rust-gobject-sys" ,rust-gobject-sys-0.15)
("rust-libc" ,rust-libc-0.2)
("rust-system-deps" ,rust-system-deps-6))
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))
(native-inputs
(list pkg-config))
(inputs
(list pango))
(home-page "https://gtk-rs.org/")
(synopsis "FFI bindings to libpango-1.0")
(description "This package provides FFI bindings to @code{libpango-1.0}.")
(license license:expat)))
(define-public rust-pango-sys-0.14
(package
(inherit rust-pango-sys-0.15)
(name "rust-pango-sys")
(version "0.14.0")
(source
@ -1766,7 +1797,6 @@ library.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1zj236n9kjldf47wwlxvhshwm5zhg589a0fml5mm8qg7lnf0jrr3"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build?
#t
@ -1774,13 +1804,7 @@ library.")
(("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-3))))
(inputs
(list pango))
(home-page "https://gtk-rs.org/")
(synopsis "FFI bindings to libpango-1.0")
(description "This package provides FFI bindings to @code{libpango-1.0}.")
(license license:expat)))
("rust-system-deps" ,rust-system-deps-3))))))
(define-public rust-pango-sys-0.10
(package