[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
61/127: gnu: Add rust-pango-0.18.
From: |
guix-commits |
Subject: |
61/127: gnu: Add rust-pango-0.18. |
Date: |
Tue, 26 Dec 2023 06:42:43 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 8d4d31e3ac6ad416fdb119c50db71a5722db0b37
Author: Sergio Pastor PĂ©rez <sergio.pastorperez@outlook.es>
AuthorDate: Tue Nov 28 22:11:52 2023 +0100
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>
---
gnu/packages/crates-gtk.scm | 40 ++++++++++++++++++++++++++++++----------
1 file changed, 30 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index f73c3478e6..8bbce44fcd 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2438,8 +2438,37 @@
library.")
(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
(package
+ (inherit rust-pango-0.18)
(name "rust-pango")
(version "0.17.10")
(source
@@ -2449,7 +2478,6 @@ library.")
(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
@@ -2461,15 +2489,7 @@ library.")
("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)))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-pango-0.15
(package
- 60/127: gnu: Add rust-pango-sys-0.18., (continued)
- 60/127: gnu: Add rust-pango-sys-0.18., guix-commits, 2023/12/26
- 62/127: gnu: rust-const-random-macro-0.1: Update to 0.1.16., guix-commits, 2023/12/26
- 83/127: gnu: Add rust-windows-aarch64-msvc-0.52., guix-commits, 2023/12/26
- 77/127: gnu: Add rust-rstest-0.17., guix-commits, 2023/12/26
- 114/127: gnu: Add rust-assert-float-eq-1., guix-commits, 2023/12/26
- 119/127: gnu: Remove exa., guix-commits, 2023/12/26
- 123/127: gnu: rust-heck-0.3: Don't skip build., guix-commits, 2023/12/26
- 127/127: gnu: librsvg: Improve cross compiling., guix-commits, 2023/12/26
- 45/127: gnu: Add rust-smol-str-0.2., guix-commits, 2023/12/26
- 51/127: gnu: Add rust-gio-sys-0.18., guix-commits, 2023/12/26
- 61/127: gnu: Add rust-pango-0.18.,
guix-commits <=
- 78/127: gnu: rust-dlib-0.5: Update to 0.5.2., guix-commits, 2023/12/26
- 85/127: gnu: Add rust-windows-i686-msvc-0.52., guix-commits, 2023/12/26
- 84/127: gnu: Add rust-windows-i686-gnu-0.52., guix-commits, 2023/12/26
- 76/127: gnu: Add rust-rstest-macros-0.17., guix-commits, 2023/12/26
- 99/127: gnu: Add rust-rstest-0.18., guix-commits, 2023/12/26
- 107/127: gnu: Add rust-find-crate-0.6., guix-commits, 2023/12/26
- 109/127: gnu: Add rust-palette-derive-0.7., guix-commits, 2023/12/26