summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-gtk.scm
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-01-10 19:23:16 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-21 00:44:18 +0100
commit7c48e19cd0568d2b0ec09dddaccb36a07d8e0c12 (patch)
tree73a35c96aae0c31aaddb86798ccb664e27609eb2 /gnu/packages/crates-gtk.scm
parente5a9b9a1ed0d1aa22b38eabe07e52dff39a6278e (diff)
gnu: Add rust-pango-0.14.
* gnu/packages/crates-gtk.scm (rust-pango-0.14): New variable. (rust-pango-0.10): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r--gnu/packages/crates-gtk.scm40
1 files changed, 32 insertions, 8 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index e9c4ffed06..3fa14e4324 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1105,8 +1105,39 @@
library.")
(license license:expat)))
+(define-public rust-pango-0.14
+ (package
+ (name "rust-pango")
+ (version "0.14.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pango" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10c5q8wl9gkjh323whq6pg9yfvr2vmz00f98z1d77jp506cdavsl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-glib" ,rust-glib-0.14)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-pango-sys" ,rust-pango-sys-0.14))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (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.9
(package
+ (inherit rust-pango-0.14)
(name "rust-pango")
(version "0.9.1")
(source
@@ -1116,7 +1147,6 @@ library.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0f64hynd9vq6966wb66mrg5kq9q371bkhncp37nqrgdyh22hcdwr"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -1129,13 +1159,7 @@ library.")
("rust-once-cell" ,rust-once-cell-1)
("rust-pango-sys" ,rust-pango-sys-0.10))
#:cargo-development-inputs
- (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
- (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)))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-pango-0.8
(package