summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-02-02 03:04:34 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-27 20:59:51 +0200
commit61de013c2451b4fdb6314b6c8d4e25b8c8a462ac (patch)
treebbea64f307a1789d251d4c8390d796dde35bad0c
parentb4d0afdfbdf37f119e9d891368faf11417532477 (diff)
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>
-rw-r--r--gnu/packages/crates-io.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3137b9f172..50e4f456ba 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2798,6 +2798,36 @@ intrinsics.")
"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")