mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-pango-0.18.
* gnu/packages/crates-gtk.scm (rust-pango-0.18): New variable. (rust-pango-0.17): Inherit from rust-pango-0.18. Change-Id: I586c4d00af804d66583ada712ce34a2a0d92e156 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
8bbc42ba7b
commit
9bec98f63b
1 changed files with 30 additions and 10 deletions
|
@ -2438,8 +2438,37 @@
|
||||||
library.")
|
library.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-pango-0.18
|
||||||
|
(package
|
||||||
|
(name "rust-pango")
|
||||||
|
(version "0.18.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "pango" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1l82j97pg7hyq2qnflg3lzyza307y8jvi5h02q3340qxhd5yba86"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display`
|
||||||
|
#:cargo-inputs (("rust-gio" ,rust-gio-0.18)
|
||||||
|
("rust-glib" ,rust-glib-0.18)
|
||||||
|
("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-once-cell" ,rust-once-cell-1)
|
||||||
|
("rust-pango-sys" ,rust-pango-sys-0.18))
|
||||||
|
#: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.17
|
(define-public rust-pango-0.17
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-pango-0.18)
|
||||||
(name "rust-pango")
|
(name "rust-pango")
|
||||||
(version "0.17.10")
|
(version "0.17.10")
|
||||||
(source
|
(source
|
||||||
|
@ -2449,7 +2478,6 @@ library.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0j0xj9yw81qivqb0y34j9c5azjsdspxp1zzpvxi1zri0qrplbgim"))))
|
(base32 "0j0xj9yw81qivqb0y34j9c5azjsdspxp1zzpvxi1zri0qrplbgim"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display`
|
`(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display`
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
|
@ -2461,15 +2489,7 @@ library.")
|
||||||
("rust-once-cell" ,rust-once-cell-1)
|
("rust-once-cell" ,rust-once-cell-1)
|
||||||
("rust-pango-sys" ,rust-pango-sys-0.17))
|
("rust-pango-sys" ,rust-pango-sys-0.17))
|
||||||
#: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))))))
|
||||||
(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.15
|
(define-public rust-pango-0.15
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue