[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/54: gnu: Add rust-cocoa-0.22.
From: |
guix-commits |
Subject: |
04/54: gnu: Add rust-cocoa-0.22. |
Date: |
Sun, 31 Jan 2021 03:52:13 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit feea5f4e61f0c2f982db446a2cb6bb91fb9379c7
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Jan 29 23:08:59 2021 +0100
gnu: Add rust-cocoa-0.22.
* gnu/packages/crates-io.scm (rust-cocoa-0.22): New variable.
(rust-cocoa-0.19): Inherit from above.
---
gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++------
1 file changed, 29 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 288f214..aaa77e2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5993,8 +5993,36 @@ CMAKE environmental variable is set.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-cocoa-0.22
+ (package
+ (name "rust-cocoa")
+ (version "0.22.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cocoa" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19qyyv01yzrm6aahn6cdxvb4jhl6v4fj0cgqkxmq38i7hq3dqzv6"))))
+ (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" ,rust-core-graphics-0.21)
+ ("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 "This package provides bindings to Cocoa for macOS.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-cocoa-0.19
(package
+ (inherit rust-cocoa-0.22)
(name "rust-cocoa")
(version "0.19.1")
(source
@@ -6006,7 +6034,6 @@ CMAKE environmental variable is set.")
(sha256
(base32
"0034vahbfv574q4b63rj241b8rnka5cjiqsqc6wiggnin9l7g7zj"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; only for macOS
#:cargo-inputs
@@ -6016,11 +6043,7 @@ CMAKE environmental variable is set.")
("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))))
+ ("rust-objc" ,rust-objc-0.2))))))
(define-public rust-cocoa-0.18
(package
- branch master updated (edfbb1d -> 3e10f0e), guix-commits, 2021/01/31
- 01/54: gnu: rust-png-0.16: Update to 0.16.8., guix-commits, 2021/01/31
- 02/54: gnu: Add rust-dispatch-0.2., guix-commits, 2021/01/31
- 03/54: gnu: Add rust-core-graphics-0.21., guix-commits, 2021/01/31
- 04/54: gnu: Add rust-cocoa-0.22.,
guix-commits <=
- 05/54: gnu: Add rust-metal-0.18., guix-commits, 2021/01/31
- 12/54: gnu: rust-glutin-gles2-sys-0.1: Update to 0.1.5., guix-commits, 2021/01/31
- 13/54: gnu: rust-glutin-emscripten-sys-0.1: Update to 0.1.1., guix-commits, 2021/01/31
- 07/54: gnu: rust-core-video-sys-0.1: Update to 0.1.4., guix-commits, 2021/01/31
- 06/54: gnu: Add rust-core-graphics-0.19., guix-commits, 2021/01/31
- 16/54: gnu: Add rust-cocoa-0.23., guix-commits, 2021/01/31
- 08/54: gnu: Add rust-winit-0.24., guix-commits, 2021/01/31
- 11/54: gnu: rust-glutin-glx-sys-0.1: Update to 0.1.7., guix-commits, 2021/01/31
- 21/54: gnu: Add rust-freetype-rs-0.26., guix-commits, 2021/01/31
- 22/54: gnu: Add rust-wio-0.2., guix-commits, 2021/01/31