summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-29 23:48:43 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-31 09:50:35 +0100
commitbd879c649c99a4926f6d44949192ada537a56d65 (patch)
tree4c5dfca4b869b27fac844bb839f3c5f711347c5e /gnu/packages/crates-io.scm
parent0b00d063ca21b057f48aee18c6694aa2552ec094 (diff)
gnu: Add rust-cocoa-foundation-0.1.
* gnu/packages/crates-io.scm (rust-cocoa-foundation-0.1): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ef05acb8ac..0398a48e6f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6060,6 +6060,34 @@ CMAKE environmental variable is set.")
(base32
"0m6fgdr4d2fp8jhkqvwr23hrqqqjv72g0j9vdgijc58k05j9j1hp"))))))
+(define-public rust-cocoa-foundation-0.1
+ (package
+ (name "rust-cocoa-foundation")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cocoa-foundation" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0633ipbd28z35rsdmsl505f1aasrjsrrnirs826aa32nbnv4kpks"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-block" ,rust-block-0.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)
+ ("rust-objc" ,rust-objc-0.2))))
+ (home-page "https://github.com/servo/core-foundation-rs")
+ (synopsis "Bindings to Cocoa Foundation for macOS")
+ (description
+ "This package provides bindings to Cocoa Foundation for macOS.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-codespan-reporting-0.9
(package
(name "rust-codespan-reporting")