me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-core-graphics-0.17.

* gnu/packages/crates-io.scm (rust-core-graphics-0.17): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
Valentin Ignatev 2020-01-26 16:43:56 +03:00 committed by Efraim Flashner
parent 4b6f844ec2
commit 67aee1c046
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 27 additions and 0 deletions

View File

@ -2675,6 +2675,33 @@ intrinsics.")
(license (list license:asl2.0
license:expat))))
(define-public rust-core-graphics-0.17
(package
(name "rust-core-graphics")
(version "0.17.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-graphics" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1acm3vygngnilzlr6klym5ywh7kfzh2xxrh2l41152hwmdl0jyan"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; only for macOS
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-core-foundation" ,rust-core-foundation-0.6)
("rust-foreign-types" ,rust-foreign-types-0.3)
("rust-libc" ,rust-libc-0.2))))
(home-page "https://github.com/servo/core-graphics-rs")
(synopsis "Bindings to Core Graphics for macOS")
(description
"Bindings to Core Graphics for macOS.")
(license (list license:expat license:asl2.0))))
(define-public rust-crates-index-0.13
(package
(name "rust-crates-index")