aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-26 16:46:12 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-27 20:59:43 +0200
commitdb8da4de980bd0a499d45694b83d66e7676eb2eb (patch)
treeb7ed11ec32097ecd17087460be2cf8466121148f
parentb5bda2cda4a6d0ac7e3c1349a8bdde82e0fc5923 (diff)
downloadpatches-db8da4de980bd0a499d45694b83d66e7676eb2eb.tar
patches-db8da4de980bd0a499d45694b83d66e7676eb2eb.tar.gz
gnu: Add rust-cocoa-0.19.
* gnu/packages/crates-io.scm (rust-cocoa-0.19): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cc6048ec98..107578407b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2357,6 +2357,35 @@ CMAKE environmental variable is set.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-cocoa-0.19
+ (package
+ (name "rust-cocoa")
+ (version "0.19.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cocoa" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0034vahbfv574q4b63rj241b8rnka5cjiqsqc6wiggnin9l7g7zj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; only for macOS
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-block" ,rust-block-0.1)
+ ("rust-core-foundation" ,rust-core-foundation-0.6)
+ ("rust-core-graphics" ,rust-core-graphics-0.17)
+ ("rust-foreign-types" ,rust-foreign-types-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-objc" ,rust-objc-0.2))))
+ (home-page "https://github.com/servo/core-foundation-rs")
+ (synopsis "Bindings to Cocoa for macOS")
+ (description "Bindings to Cocoa for macOS.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-color-quant-1.0
(package
(name "rust-color-quant")