mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-17 12:30:38 +02:00
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
This commit is contained in:
parent
192a71782f
commit
a048bf4e91
1 changed files with 27 additions and 7 deletions
|
@ -710,8 +710,34 @@ for computer graphics.")
|
||||||
(description "Professional color schemes ported from d3-scale-chromatic.")
|
(description "Professional color schemes ported from d3-scale-chromatic.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public rust-core-graphics-0.24
|
||||||
|
(package
|
||||||
|
(name "rust-core-graphics")
|
||||||
|
(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 "1w8n8gqqm8swkanaibilqya8ryldp9fvf80byjxsaprn493a75gs"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#: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")
|
||||||
|
(synopsis "Bindings to Core Graphics for macOS")
|
||||||
|
(description
|
||||||
|
"This package provides bindings to Core Graphics for @code{macOS}.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-core-graphics-0.23
|
(define-public rust-core-graphics-0.23
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-core-graphics-0.24)
|
||||||
(name "rust-core-graphics")
|
(name "rust-core-graphics")
|
||||||
(version "0.23.1")
|
(version "0.23.1")
|
||||||
(source
|
(source
|
||||||
|
@ -721,19 +747,13 @@ for computer graphics.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "04m2hpzrkzkkxmvlak20ivlgf8rcsh3j3y67vgz2c30iyjx2j2lp"))))
|
(base32 "04m2hpzrkzkkxmvlak20ivlgf8rcsh3j3y67vgz2c30iyjx2j2lp"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
|
#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
|
||||||
("rust-core-foundation" ,rust-core-foundation-0.9)
|
("rust-core-foundation" ,rust-core-foundation-0.9)
|
||||||
("rust-core-graphics-types" ,rust-core-graphics-types-0.1)
|
("rust-core-graphics-types" ,rust-core-graphics-types-0.1)
|
||||||
("rust-foreign-types" ,rust-foreign-types-0.5)
|
("rust-foreign-types" ,rust-foreign-types-0.5)
|
||||||
("rust-libc" ,rust-libc-0.2))))
|
("rust-libc" ,rust-libc-0.2))))))
|
||||||
(home-page "https://github.com/servo/core-foundation-rs")
|
|
||||||
(synopsis "Bindings to Core Graphics for macOS")
|
|
||||||
(description
|
|
||||||
"This package provides bindings to Core Graphics for @code{macOS}.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-core-graphics-0.22
|
(define-public rust-core-graphics-0.22
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue