me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-cocoa-0.25.

* gnu/packages/crates-io.scm (rust-cocoa-0.25): New variable.
(rust-cocoa-0.24): Inherit from rust-cocoa-0.25.

Change-Id: Id1212762db8ec5f6ce7545b93d3f146a68470bf0
master
Efraim Flashner 2024-01-04 11:36:38 +02:00
parent df67510897
commit 3c722d505c
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 29 additions and 6 deletions

View File

@ -12566,8 +12566,36 @@ CMAKE environmental variable is set.")
(license (list license:asl2.0 (license (list license:asl2.0
license:expat)))) license:expat))))
(define-public rust-cocoa-0.25
(package
(name "rust-cocoa")
(version "0.25.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "cocoa" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0g1pl5hq28arqmvsswf2ib7smj445miwa58qa7wrfvksz54h857n"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
("rust-block" ,rust-block-0.1)
("rust-cocoa-foundation" ,rust-cocoa-foundation-0.1)
("rust-core-foundation" ,rust-core-foundation-0.9)
("rust-core-graphics" ,rust-core-graphics-0.23)
("rust-foreign-types" ,rust-foreign-types-0.5)
("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.24 (define-public rust-cocoa-0.24
(package (package
(inherit rust-cocoa-0.25)
(name "rust-cocoa") (name "rust-cocoa")
(version "0.24.0") (version "0.24.0")
(source (source
@ -12577,7 +12605,6 @@ CMAKE environmental variable is set.")
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "0cp8hsajmi7gini22bmlsf9dac7cap7x1k169vxhwlr3j8p90qvg")))) (base32 "0cp8hsajmi7gini22bmlsf9dac7cap7x1k169vxhwlr3j8p90qvg"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
#:cargo-inputs #:cargo-inputs
@ -12588,11 +12615,7 @@ CMAKE environmental variable is set.")
("rust-core-graphics" ,rust-core-graphics-0.22) ("rust-core-graphics" ,rust-core-graphics-0.22)
("rust-foreign-types" ,rust-foreign-types-0.3) ("rust-foreign-types" ,rust-foreign-types-0.3)
("rust-libc" ,rust-libc-0.2) ("rust-libc" ,rust-libc-0.2)
("rust-objc" ,rust-objc-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.23 (define-public rust-cocoa-0.23
(package (package