gnu: Add rust-core-graphics-0.22.
* gnu/packages/crates-graphics.scm (rust-core-graphics-0.22): New variable. (rust-core-graphics-0.21): Inherit from above.
This commit is contained in:
parent
36e8952f08
commit
d7d8fe36f9
1 changed files with 24 additions and 3 deletions
|
@ -371,17 +371,17 @@ for computer graphics.")
|
||||||
(;("rust-glium" ,rust-glium-0.19)
|
(;("rust-glium" ,rust-glium-0.19)
|
||||||
("rust-serde-json" ,rust-serde-json-1))))))
|
("rust-serde-json" ,rust-serde-json-1))))))
|
||||||
|
|
||||||
(define-public rust-core-graphics-0.21
|
(define-public rust-core-graphics-0.22
|
||||||
(package
|
(package
|
||||||
(name "rust-core-graphics")
|
(name "rust-core-graphics")
|
||||||
(version "0.21.1")
|
(version "0.22.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "core-graphics" version))
|
(uri (crate-uri "core-graphics" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1i9gwzkil9k276317by0mi1pxz036h412dmcp1bzmlq4adj5anha"))))
|
(base32 "11lx6xw8nc9fpd552g60qa0cxh0maah8j2m26vkq0aslkgv3b7r6"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
|
@ -397,6 +397,27 @@ for computer graphics.")
|
||||||
"This package provides bindings to Core Graphics for macOS.")
|
"This package provides bindings to Core Graphics for macOS.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
|
(define-public rust-core-graphics-0.21
|
||||||
|
(package
|
||||||
|
(inherit rust-core-graphics-0.22)
|
||||||
|
(name "rust-core-graphics")
|
||||||
|
(version "0.21.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "core-graphics" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1i9gwzkil9k276317by0mi1pxz036h412dmcp1bzmlq4adj5anha"))))
|
||||||
|
(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.3)
|
||||||
|
("rust-libc" ,rust-libc-0.2))))))
|
||||||
|
|
||||||
(define-public rust-core-graphics-0.19
|
(define-public rust-core-graphics-0.19
|
||||||
(package
|
(package
|
||||||
(inherit rust-core-graphics-0.21)
|
(inherit rust-core-graphics-0.21)
|
||||||
|
|
Reference in a new issue