me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-pango-sys-0.18.

* gnu/packages/crates-gtk.scm (rust-pango-sys-0.18): New variable.
(rust-pango-sys-0.17): Inherit from rust-pango-sys-0.18.

Change-Id: I1c5159670be3c67d08942d3e058ef094b9f95c3c
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
Sergio Pastor Pérez 2023-11-28 22:11:51 +01:00 committed by Efraim Flashner
parent d9fde1e639
commit 8bbc42ba7b
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 28 additions and 10 deletions

View File

@ -2573,8 +2573,35 @@ library.")
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-pango-sys-0.18
(package
(name "rust-pango-sys")
(version "0.18.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "pango-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1iaxalcaaj59cl9n10svh4g50v8jrc1a36kd7n9yahx8j7ikfrs3"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
("rust-gobject-sys" ,rust-gobject-sys-0.18)
("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.17
(package
(inherit rust-pango-sys-0.18)
(name "rust-pango-sys")
(version "0.17.10")
(source
@ -2584,7 +2611,6 @@ library.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "15aindwdxsydzvqcvhc9ysamx5v1jmq8qbs61ncxic2h72grz9ix"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-glib-sys" ,rust-glib-sys-0.17)
@ -2593,15 +2619,7 @@ library.")
("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)))
("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-pango-sys-0.15
(package