aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-graphics.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-11-14 09:46:22 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:14 +0200
commita048bf4e91fad8578d653a6b270499a8ff7300ff (patch)
treee07245acfead515cefb840dacc1238a0207525e6 /gnu/packages/crates-graphics.scm
parent192a71782fe19d642d8e9100524a2a0ad1b42479 (diff)
downloadguix-a048bf4e91fad8578d653a6b270499a8ff7300ff.tar.gz
guix-a048bf4e91fad8578d653a6b270499a8ff7300ff.zip
gnu: Add rust-core-graphics-0.24.
* gnu/packages/crates-graphics.scm (rust-core-graphics-0.24): New variable. (rust-core-graphics-0.23): Inherit from rust-core-graphics-0.24. Change-Id: I95ee9256aab11cf272de5310a1f4895d4b333b2b
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r--gnu/packages/crates-graphics.scm34
1 files changed, 27 insertions, 7 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 1a5241d86c..f82848052d 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -710,23 +710,23 @@ for computer graphics.")
(description "Professional color schemes ported from d3-scale-chromatic.")
(license license:asl2.0)))
-(define-public rust-core-graphics-0.23
+(define-public rust-core-graphics-0.24
(package
(name "rust-core-graphics")
- (version "0.23.1")
+ (version "0.24.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-graphics" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "04m2hpzrkzkkxmvlak20ivlgf8rcsh3j3y67vgz2c30iyjx2j2lp"))))
+ (base32 "1w8n8gqqm8swkanaibilqya8ryldp9fvf80byjxsaprn493a75gs"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
- ("rust-core-foundation" ,rust-core-foundation-0.9)
- ("rust-core-graphics-types" ,rust-core-graphics-types-0.1)
+ `(#:skip-build? #t ; link kind `framework` is only supported on Apple targets
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-core-foundation" ,rust-core-foundation-0.10)
+ ("rust-core-graphics-types" ,rust-core-graphics-types-0.2)
("rust-foreign-types" ,rust-foreign-types-0.5)
("rust-libc" ,rust-libc-0.2))))
(home-page "https://github.com/servo/core-foundation-rs")
@@ -735,6 +735,26 @@ for computer graphics.")
"This package provides bindings to Core Graphics for @code{macOS}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-core-graphics-0.23
+ (package
+ (inherit rust-core-graphics-0.24)
+ (name "rust-core-graphics")
+ (version "0.23.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core-graphics" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04m2hpzrkzkkxmvlak20ivlgf8rcsh3j3y67vgz2c30iyjx2j2lp"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-core-foundation" ,rust-core-foundation-0.9)
+ ("rust-core-graphics-types" ,rust-core-graphics-types-0.1)
+ ("rust-foreign-types" ,rust-foreign-types-0.5)
+ ("rust-libc" ,rust-libc-0.2))))))
+
(define-public rust-core-graphics-0.22
(package
(inherit rust-core-graphics-0.23)