[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/194: gnu: Add rust-pangocairo-sys-0.17.
From: |
guix-commits |
Subject: |
16/194: gnu: Add rust-pangocairo-sys-0.17. |
Date: |
Tue, 3 Oct 2023 14:57:09 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 9c348e3a26e48780f7cc594835b5a95982af1737
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 16:16:33 2023 +0300
gnu: Add rust-pangocairo-sys-0.17.
* gnu/packages/crates-gtk.scm (rust-pangocairo-sys-0.17): New variable.
(rust-pangocairo-sys-0.15): Inherit from rust-pangocairo-sys-0.17.
---
gnu/packages/crates-gtk.scm | 45 ++++++++++++++++++++++++++++++++++-----------
1 file changed, 34 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 695116e5a2..0abfddcea4 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2222,8 +2222,41 @@ library.")
"Rust bindings for the PangoCairo library.")
(license license:expat)))
+(define-public rust-pangocairo-sys-0.17
+ (package
+ (name "rust-pangocairo-sys")
+ (version "0.17.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pangocairo-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ymr4aqrdpysz0rh383s4h6hj8nbkyj7n4723f45zzzqkf6x7pwl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.17)
+ ("rust-glib-sys" ,rust-glib-sys-0.17)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.17)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ ;; XXX: Should these be propagated from their respective crates?
+ (list cairo glib pango))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libgtk-3")
+ (description "This package provides FFI bindings to @code{PangoCairo}.")
+ (license license:expat)))
+
(define-public rust-pangocairo-sys-0.15
(package
+ (inherit rust-pangocairo-sys-0.17)
(name "rust-pangocairo-sys")
(version "0.15.1")
(source
@@ -2235,7 +2268,6 @@ library.")
(sha256
(base32
"154llaawy60zh8fkw2yq0r31ynpmqlsr7brryzaq2v4ijijp9kvq"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.15)
@@ -2245,16 +2277,7 @@ library.")
("rust-system-deps" ,rust-system-deps-6))
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-1)
- ("rust-tempfile" ,rust-tempfile-3))))
- (native-inputs
- (list pkg-config))
- (inputs
- ;; XXX: Should these be propagated from their respective crates?
- (list cairo glib pango))
- (home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libgtk-3")
- (description "This package provides FFI bindings to libgtk-3.")
- (license license:expat)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-soup-sys-0.10
(package
- 14/194: gnu: Add rust-pango-0.17., (continued)
- 14/194: gnu: Add rust-pango-0.17., guix-commits, 2023/10/03
- 10/194: gnu: Add rust-cairo-sys-rs-0.17., guix-commits, 2023/10/03
- 17/194: gnu: Add rust-pangocairo-0.17., guix-commits, 2023/10/03
- 18/194: gnu: Add rust-cssparser-0.29., guix-commits, 2023/10/03
- 24/194: gnu: Add rust-data-url-0.2., guix-commits, 2023/10/03
- 26/194: gnu: Add rust-float-eq-derive-1., guix-commits, 2023/10/03
- 03/194: gnu: rust: Add make-ignore-test-list function., guix-commits, 2023/10/03
- 07/194: gnu: rust-fd-lock-3: Update to 3.0.12., guix-commits, 2023/10/03
- 09/194: gnu: Add rust-cairo-rs-0.17., guix-commits, 2023/10/03
- 13/194: gnu: Add rust-gio-0.17., guix-commits, 2023/10/03
- 16/194: gnu: Add rust-pangocairo-sys-0.17.,
guix-commits <=
- 12/194: gnu: Add rust-gdk-pixbuf-sys-0.17., guix-commits, 2023/10/03
- 15/194: gnu: Add rust-pango-sys-0.17., guix-commits, 2023/10/03
- 19/194: gnu: Add rust-cuda-std-macros-0.2., guix-commits, 2023/10/03
- 23/194: gnu: Add rust-dashmap-5., guix-commits, 2023/10/03
- 20/194: gnu: Add rust-cuda-std-0.2., guix-commits, 2023/10/03
- 25/194: gnu: rust-encoding-rs-0.8: Update to 0.8.33., guix-commits, 2023/10/03
- 30/194: gnu: Add rust-gg-alloc-1., guix-commits, 2023/10/03
- 11/194: gnu: Add rust-gdk-pixbuf-0.17., guix-commits, 2023/10/03
- 22/194: gnu: Add rust-cust-core-0.1., guix-commits, 2023/10/03
- 31/194: gnu: Add rust-glam-0.24., guix-commits, 2023/10/03