mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: Add rust-pango-0.17.
* gnu/packages/crates-gtk.scm (rust-pango-0.17): New variable. (rust-pango-0.15): Inherit from rust-pango-0.17.
This commit is contained in:
parent
55b3817d53
commit
3e52fbcf34
1 changed files with 35 additions and 10 deletions
|
@ -1936,8 +1936,42 @@ (define-public rust-gtk3-macros-0.14
|
||||||
library.")
|
library.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-pango-0.17
|
||||||
|
(package
|
||||||
|
(name "rust-pango")
|
||||||
|
(version "0.17.10")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "pango" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0j0xj9yw81qivqb0y34j9c5azjsdspxp1zzpvxi1zri0qrplbgim"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display`
|
||||||
|
#:tests? #f
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-bitflags" ,rust-bitflags-1)
|
||||||
|
("rust-gio" ,rust-gio-0.17)
|
||||||
|
("rust-glib" ,rust-glib-0.17)
|
||||||
|
("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-once-cell" ,rust-once-cell-1)
|
||||||
|
("rust-pango-sys" ,rust-pango-sys-0.17))
|
||||||
|
#: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.15
|
(define-public rust-pango-0.15
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-pango-0.17)
|
||||||
(name "rust-pango")
|
(name "rust-pango")
|
||||||
(version "0.15.10")
|
(version "0.15.10")
|
||||||
(source
|
(source
|
||||||
|
@ -1947,7 +1981,6 @@ (define-public rust-pango-0.15
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0ksf85fqkw4y5pf21p84g5xn4fnqn21cbrmx2d9yx6k591ah9r12"))))
|
(base32 "0ksf85fqkw4y5pf21p84g5xn4fnqn21cbrmx2d9yx6k591ah9r12"))))
|
||||||
(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
|
||||||
|
@ -1958,15 +1991,7 @@ (define-public rust-pango-0.15
|
||||||
("rust-once-cell" ,rust-once-cell-1)
|
("rust-once-cell" ,rust-once-cell-1)
|
||||||
("rust-pango-sys" ,rust-pango-sys-0.15))
|
("rust-pango-sys" ,rust-pango-sys-0.15))
|
||||||
#: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 "Rust bindings for the Pango library")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-pango-0.14
|
(define-public rust-pango-0.14
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue