[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/276: gnu: Add rust-pangocairo-0.17.
From: |
guix-commits |
Subject: |
17/276: gnu: Add rust-pangocairo-0.17. |
Date: |
Wed, 18 Oct 2023 04:48:49 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 278f8a7de8b2a27f5250bb511fef0504ab33b6a1
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 16:17:01 2023 +0300
gnu: Add rust-pangocairo-0.17.
* gnu/packages/crates-gtk.scm (rust-pangocairo-0.17): New variable.
(rust-pangocairo-0.15): Inherit from rust-pangocairo-0.17.
---
gnu/packages/crates-gtk.scm | 47 ++++++++++++++++++++++++++++++++++-----------
1 file changed, 36 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 0abfddcea4..e816c5ee41 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2187,8 +2187,43 @@ library.")
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-pangocairo-0.17
+ (package
+ (name "rust-pangocairo")
+ (version "0.17.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pangocairo" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1kr2b31034b8zif4r3lf4rniqphk2bxi2q7n8iwq2wrf3k5jkgw6"))))
+ (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-cairo-rs" ,rust-cairo-rs-0.17)
+ ("rust-glib" ,rust-glib-0.17)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango" ,rust-pango-0.17)
+ ("rust-pangocairo-sys" ,rust-pangocairo-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 PangoCairo library")
+ (description
+ "This package provides Rust bindings for the @code{PangoCairo} library.")
+ (license license:expat)))
+
(define-public rust-pangocairo-0.15
(package
+ (inherit rust-pangocairo-0.17)
(name "rust-pangocairo")
(version "0.15.1")
(source
@@ -2199,7 +2234,6 @@ library.")
(sha256
(base32
"0rjk0clrjxah4kc0kybn7l7bxa5m5kpxkihxc2i7a6hx3xfa8xkq"))))
- (build-system cargo-build-system)
(arguments
`(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display`
#:tests? #f
@@ -2211,16 +2245,7 @@ library.")
("rust-pango" ,rust-pango-0.15)
("rust-pangocairo-sys" ,rust-pangocairo-sys-0.15))
#: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 PangoCairo library")
- (description
- "Rust bindings for the PangoCairo library.")
- (license license:expat)))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-pangocairo-sys-0.17
(package
- 20/276: gnu: Add rust-cuda-std-0.2., (continued)
- 20/276: gnu: Add rust-cuda-std-0.2., guix-commits, 2023/10/18
- 21/276: gnu: Add rust-cust-derive-0.2., guix-commits, 2023/10/18
- 11/276: gnu: Add rust-gdk-pixbuf-0.17., guix-commits, 2023/10/18
- 03/276: gnu: rust: Add make-ignore-test-list function., guix-commits, 2023/10/18
- 06/276: build: cargo-build-system: Check for pregenerated files., guix-commits, 2023/10/18
- 07/276: gnu: rust-fd-lock-3: Update to 3.0.12., guix-commits, 2023/10/18
- 13/276: gnu: Add rust-gio-0.17., guix-commits, 2023/10/18
- 09/276: gnu: Add rust-cairo-rs-0.17., guix-commits, 2023/10/18
- 15/276: gnu: Add rust-pango-sys-0.17., guix-commits, 2023/10/18
- 16/276: gnu: Add rust-pangocairo-sys-0.17., guix-commits, 2023/10/18
- 17/276: gnu: Add rust-pangocairo-0.17.,
guix-commits <=
- 26/276: gnu: Add rust-float-eq-derive-1., guix-commits, 2023/10/18
- 28/276: gnu: Add rust-freetype-sys-0.17., guix-commits, 2023/10/18
- 02/276: gnu: Add rust-1.70., guix-commits, 2023/10/18
- 22/276: gnu: Add rust-cust-core-0.1., guix-commits, 2023/10/18
- 23/276: gnu: Add rust-dashmap-5., guix-commits, 2023/10/18
- 24/276: gnu: Add rust-data-url-0.2., guix-commits, 2023/10/18
- 14/276: gnu: Add rust-pango-0.17., guix-commits, 2023/10/18
- 19/276: gnu: Add rust-cuda-std-macros-0.2., guix-commits, 2023/10/18
- 35/276: gnu: Add rust-glam-0.20., guix-commits, 2023/10/18
- 38/276: gnu: rust-half-1: Update to 1.8.2., guix-commits, 2023/10/18