[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
56/127: gnu: Add rust-gdk-pixbuf-0.18.
From: |
guix-commits |
Subject: |
56/127: gnu: Add rust-gdk-pixbuf-0.18. |
Date: |
Tue, 26 Dec 2023 06:42:42 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 90783ba7306dd21c467c5c801b6dc1f72e25ef2a
Author: Sergio Pastor PĂ©rez <sergio.pastorperez@outlook.es>
AuthorDate: Tue Nov 28 22:11:47 2023 +0100
gnu: Add rust-gdk-pixbuf-0.18.
* gnu/packages/crates-gtk.scm (rust-gdk-pixbuf-0.18): New variable.
(rust-gdk-pixbuf-0.17): Inherit from rust-gdk-pixbuf-0.18.
Change-Id: I33e260ac3e11af9d37b951c0aded8c49b4a07116
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-gtk.scm | 40 +++++++++++++++++++++++++++++++---------
1 file changed, 31 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 38021d608b..f7ecf92381 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -511,8 +511,38 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+(define-public rust-gdk-pixbuf-0.18
+ (package
+ (name "rust-gdk-pixbuf")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk-pixbuf" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wy68zaxd1914qayjz4jn6k0i2759sx7k26hcmmma7d8fgnw5jdv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display`
+ #:cargo-inputs
+ (("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.18)
+ ("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))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gdk-pixbuf))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the GdkPixbuf library")
+ (description "Rust bindings for the @code{GdkPixbuf} library.")
+ (license license:expat)))
+
(define-public rust-gdk-pixbuf-0.17
(package
+ (inherit rust-gdk-pixbuf-0.18)
(name "rust-gdk-pixbuf")
(version "0.17.10")
(source
@@ -522,7 +552,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "05q7ajsp2z8xi355h26k7lvq7n3lj9xm61vhn045g3238v46npb9"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display`
#:cargo-inputs
@@ -534,14 +563,7 @@
("rust-once-cell" ,rust-once-cell-1))
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list gdk-pixbuf))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the GdkPixbuf library")
- (description "Rust bindings for the @code{GdkPixbuf} library")
- (license license:expat)))
+ (inputs (list gdk-pixbuf))))
(define-public rust-gdk-pixbuf-0.15
(package
- 124/127: gnu: rust-heck-0.3: Update to 0.3.3., (continued)
- 124/127: gnu: rust-heck-0.3: Update to 0.3.3., guix-commits, 2023/12/26
- 115/127: gnu: Add rust-enterpolation-0.2., guix-commits, 2023/12/26
- 122/127: gnu: rust-heck-0.4: Update to 0.4.1., guix-commits, 2023/12/26
- 16/127: gnu: rust-fs-err-2: Update to 2.11.0., guix-commits, 2023/12/26
- 35/127: gnu: rust-unindent-0.2: Update to 0.2.3., guix-commits, 2023/12/26
- 42/127: gnu: Add rust-cap-0.1., guix-commits, 2023/12/26
- 46/127: gnu: rust-subprocess-0.2: Update to 0.2.9., guix-commits, 2023/12/26
- 43/127: gnu: Add rust-cargo-metadata-0.17., guix-commits, 2023/12/26
- 49/127: gnu: Add rust-glib-sys-0.18., guix-commits, 2023/12/26
- 48/127: gnu: rust-cargo-edit: Update to 0.12.2., guix-commits, 2023/12/26
- 56/127: gnu: Add rust-gdk-pixbuf-0.18.,
guix-commits <=
- 58/127: gnu: Add rust-graphene-rs-0.18., guix-commits, 2023/12/26
- 59/127: gnu: Add rust-gl-loader-0.1., guix-commits, 2023/12/26
- 64/127: gnu: Add rust-quick-xml-0.30., guix-commits, 2023/12/26
- 66/127: gnu: Add rust-cairo-rs-0.18., guix-commits, 2023/12/26
- 73/127: gnu: Add rust-gtk4-0.7., guix-commits, 2023/12/26
- 70/127: gnu: Add rust-gsk4-0.7., guix-commits, 2023/12/26
- 69/127: gnu: Add rust-gsk4-sys-0.7., guix-commits, 2023/12/26
- 94/127: gnu: Add rust-rstest-macros-0.16., guix-commits, 2023/12/26
- 71/127: gnu: Add rust-gtk4-sys-0.7., guix-commits, 2023/12/26
- 100/127: gnu: rust-time-core-0.1: Update to 0.1.2., guix-commits, 2023/12/26