gnu: Add rust-pango-0.20.

* gnu/packages/crates-gtk.scm (rust-pango-0.20): New variable.
(rust-pango-0.19): Inherit from rust-pango-0.20.

Change-Id: I9d06bcc3ddc380215212d807bfe7e8b6ffd3f090
This commit is contained in:
Giacomo Leidi 2024-11-06 21:41:22 +01:00 committed by Efraim Flashner
parent 7cc7ffad09
commit 10eccd8b03
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3286,8 +3286,35 @@ library.")
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-pango-0.20
(package
(name "rust-pango")
(version "0.20.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "pango" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0mpkjnxcgng8mjf7y55q5d1md4qxswf90m5784hxg50hn5aal9ma"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-gio" ,rust-gio-0.20)
("rust-glib" ,rust-glib-0.20)
("rust-libc" ,rust-libc-0.2)
("rust-pango-sys" ,rust-pango-sys-0.20))
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(native-inputs (list pkg-config))
(inputs (list pango))
(home-page "https://gtk-rs.org/")
(synopsis "Rust bindings for the Pango library")
(description "This package provides Rust bindings for the Pango library.")
(license license:expat)))
(define-public rust-pango-0.19
(package
(inherit rust-pango-0.20)
(name "rust-pango")
(version "0.19.8")
(source
@ -3297,20 +3324,13 @@ library.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1kffxkk7730csly86fkgja50k1184zj9lz49sv7qb0059233439z"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-gio" ,rust-gio-0.19)
("rust-glib" ,rust-glib-0.19)
("rust-libc" ,rust-libc-0.2)
("rust-pango-sys" ,rust-pango-sys-0.19))
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(native-inputs (list pkg-config))
(inputs (list pango))
(home-page "https://gtk-rs.org/")
(synopsis "Rust bindings for the Pango library")
(description "This package provides Rust bindings for the Pango library.")
(license license:expat)))
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-pango-0.18
(package