[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/276: gnu: Add rust-cairo-rs-0.17.
From: |
guix-commits |
Subject: |
09/276: gnu: Add rust-cairo-rs-0.17. |
Date: |
Wed, 18 Oct 2023 04:48:48 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 24eacc88cd4c975127c511c359840ecaa56f1b60
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 16:11:50 2023 +0300
gnu: Add rust-cairo-rs-0.17.
* gnu/packages/crates-gtk.scm (rust-cairo-rs-0.17): New variable.
(rust-cairo-rs-0.15): Inherit from rust-cairo-rs-0.17.
---
gnu/packages/crates-gtk.scm | 39 ++++++++++++++++++++++++++++++++-------
1 file changed, 32 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 1bd61d7f19..e50dbb0cef 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -168,28 +168,30 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
-(define-public rust-cairo-rs-0.15
+(define-public rust-cairo-rs-0.17
(package
(name "rust-cairo-rs")
- (version "0.15.12")
+ (version "0.17.10")
(source
(origin
(method url-fetch)
(uri (crate-uri "cairo-rs" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1g396fdz8crf74dmmjarcsdbsm8qgxy3a5x9kw6m2d9xn28y6vn7"))))
+ (base32 "02lz7kvml4m6fx02hy1pgk6ysils9di8n75m166kcpla0b206dmb"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
- ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.15)
- ("rust-freetype" ,rust-freetype-0.7)
- ("rust-glib" ,rust-glib-0.15)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.17)
+ ("rust-freetype-rs" ,rust-freetype-rs-0.32)
+ ("rust-glib" ,rust-glib-0.17)
("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs
- (("rust-tempfile" ,rust-tempfile-3))))
+ (("rust-float-eq" ,rust-float-eq-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
(native-inputs
(list pkg-config))
(inputs
@@ -199,6 +201,29 @@
(description "Rust bindings for the Cairo library")
(license license:expat)))
+(define-public rust-cairo-rs-0.15
+ (package
+ (inherit rust-cairo-rs-0.17)
+ (name "rust-cairo-rs")
+ (version "0.15.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cairo-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1g396fdz8crf74dmmjarcsdbsm8qgxy3a5x9kw6m2d9xn28y6vn7"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.15)
+ ("rust-freetype" ,rust-freetype-0.7)
+ ("rust-glib" ,rust-glib-0.15)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-cairo-rs-0.14
(package
(inherit rust-cairo-rs-0.15)
- 01/276: gnu: Add rust-1.69., (continued)
- 01/276: gnu: Add rust-1.69., guix-commits, 2023/10/18
- 04/276: gnu: rust: Update to 1.70.0., guix-commits, 2023/10/18
- 18/276: gnu: Add rust-cssparser-0.29., guix-commits, 2023/10/18
- 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 <=
- 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, 2023/10/18
- 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