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.master
parent
aca8767a3b
commit
eb6d797ee5
|
@ -633,20 +633,44 @@
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
|
(("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
|
(define-public rust-pango-sys-0.9
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-pango-sys-0.10)
|
||||||
(name "rust-pango-sys")
|
(name "rust-pango-sys")
|
||||||
(version "0.9.1")
|
(version "0.9.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "pango-sys" version))
|
(uri (crate-uri "pango-sys" version))
|
||||||
(file-name
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(string-append name "-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0zdynikh6jrfa31fpmbrwnz46a57idci73zzkf0z0g3vj223vfc6"))))
|
||||||
"0zdynikh6jrfa31fpmbrwnz46a57idci73zzkf0z0g3vj223vfc6"))))
|
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; Some test files not included in release.
|
`(#:tests? #f ; Some test files not included in release.
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
|
@ -656,13 +680,7 @@
|
||||||
("rust-pkg-config" ,rust-pkg-config-0.3))
|
("rust-pkg-config" ,rust-pkg-config-0.3))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-shell-words" ,rust-shell-words-0.1)
|
(("rust-shell-words" ,rust-shell-words-0.1)
|
||||||
("rust-tempfile" ,rust-tempfile-3))))
|
("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)))
|
|
||||||
|
|
||||||
(define-public rust-pangocairo-0.9
|
(define-public rust-pangocairo-0.9
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue