[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
66/127: gnu: Add rust-cairo-rs-0.18.
From: |
guix-commits |
Subject: |
66/127: gnu: Add rust-cairo-rs-0.18. |
Date: |
Tue, 26 Dec 2023 06:42:44 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit c62ce06c5867129b45d0646a8db4edb205abf516
Author: Sergio Pastor PĂ©rez <sergio.pastorperez@outlook.es>
AuthorDate: Tue Nov 28 22:12:57 2023 +0100
gnu: Add rust-cairo-rs-0.18.
* gnu/packages/crates-gtk.scm (rust-cairo-rs-0.18): New variable.
(rust-cairo-rs-0.17): Inherit from rust-cairo-rs-0.18.
Change-Id: I8d2755ffd74eab98085e5f7e8faf8f66429adfe7
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 301a9da634..74d6f7bddd 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -171,8 +171,37 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+(define-public rust-cairo-rs-0.18
+ (package
+ (name "rust-cairo-rs")
+ (version "0.18.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cairo-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0k8wfv2ri8i417pwb1mvdl51x02nsx52f31rxzg7ivn0m3gnc10w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18)
+ ("rust-freetype-rs" ,rust-freetype-rs-0.32)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-float-eq" ,rust-float-eq-1)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list cairo))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the Cairo library")
+ (description "Rust bindings for the Cairo library.")
+ (license license:expat)))
+
(define-public rust-cairo-rs-0.17
(package
+ (inherit rust-cairo-rs-0.18)
(name "rust-cairo-rs")
(version "0.17.10")
(source
@@ -182,7 +211,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "02lz7kvml4m6fx02hy1pgk6ysils9di8n75m166kcpla0b206dmb"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
@@ -194,15 +222,7 @@
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs
(("rust-float-eq" ,rust-float-eq-1)
- ("rust-tempfile" ,rust-tempfile-3))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list cairo))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the Cairo library")
- (description "Rust bindings for the Cairo library")
- (license license:expat)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-cairo-rs-0.15
(package
- 35/127: gnu: rust-unindent-0.2: Update to 0.2.3., (continued)
- 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, 2023/12/26
- 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 <=
- 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
- 101/127: gnu: rust-time-macros-0.2: Update to 0.2.16., guix-commits, 2023/12/26
- 103/127: gnu: Add rust-quick-xml-0.31., guix-commits, 2023/12/26
- 111/127: gnu: Add rust-palette-0.7., guix-commits, 2023/12/26
- 113/127: gnu: Add rust-topology-traits-0.1., guix-commits, 2023/12/26