gnu: Add rust-core-video-sys-0.1.

* gnu/packages/crates-io.scm (rust-core-video-sys-0.1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Valentin Ignatev 2020-02-02 03:04:34 +03:00 committed by Efraim Flashner
parent b4d0afdfbd
commit 61de013c24
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2798,6 +2798,36 @@ (define-public rust-core-text-13
"Bindings to the Core Text framework.")
(license (list license:expat license:asl2.0))))
(define-public rust-core-video-sys-0.1
(package
(name "rust-core-video-sys")
(version "0.1.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-video-sys" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1l59cg88482hkl95ssb30ac9x65hpbdsmxz9s5r6y222jlhnbh4d"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; only for macOS
#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-0.1)
("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6)
("rust-core-graphics" ,rust-core-graphics-0.17)
("rust-libc" ,rust-libc-0.2)
("rust-metal" ,rust-metal-0.14)
("rust-objc" ,rust-objc-0.2))))
(home-page "https://github.com/luozijun/rust-core-video-sys")
(synopsis
"Bindings to CoreVideo.framework for macOS and iOS")
(description
"Bindings to CoreVideo.framework for macOS and iOS.")
(license license:expat)))
(define-public rust-crates-index-0.13
(package
(name "rust-crates-index")