gnu: Add rust-pango-sys-0.10.

* gnu/packages/crates-gtk.scm (rust-pango-sys-0.10): New variable.
(rust-pango-sys-0.9): inherit from above.
This commit is contained in:
Nicolas Goaziou 2020-12-04 16:16:42 +01:00
parent aca8767a3b
commit eb6d797ee5
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -633,22 +633,46 @@ (define-public rust-pango-0.7
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-pango-sys-0.10
(package
(name "rust-pango-sys")
(version "0.10.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "pango-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1468xzyk2wanxb2b32fsmwk6bnafdaicxl5b4301dlb2ic66bli4"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-glib-sys" ,rust-glib-sys-0.10)
("rust-gobject-sys" ,rust-gobject-sys-0.10)
("rust-libc" ,rust-libc-0.2)
("rust-system-deps" ,rust-system-deps-1))))
(inputs
`(("pango" ,pango)))
(home-page "http://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.9
(package
(inherit rust-pango-sys-0.10)
(name "rust-pango-sys")
(version "0.9.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "pango-sys" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0zdynikh6jrfa31fpmbrwnz46a57idci73zzkf0z0g3vj223vfc6"))))
(build-system cargo-build-system)
(origin
(method url-fetch)
(uri (crate-uri "pango-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0zdynikh6jrfa31fpmbrwnz46a57idci73zzkf0z0g3vj223vfc6"))))
(arguments
`(#:tests? #f ; Some test files not included in release.
`(#:tests? #f ; Some test files not included in release.
#:cargo-inputs
(("rust-glib-sys" ,rust-glib-sys-0.9)
("rust-gobject-sys" ,rust-gobject-sys-0.9)
@ -656,13 +680,7 @@ (define-public rust-pango-sys-0.9
("rust-pkg-config" ,rust-pkg-config-0.3))
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))
(inputs
`(("pango" ,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-tempfile" ,rust-tempfile-3))))))
(define-public rust-pangocairo-0.9
(package