mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 06:37:08 +01:00
gnu: Add rust-block2-0.5.
* gnu/packages/crates-apple.scm (rust-block2-0.5): New variable. (rust-block2-0.3): Inherit from rust-block2-0.5. Change-Id: I9c42a50e699f4d0467c03f3817d3994ca6d3a6aa
This commit is contained in:
parent
40bc9c9c42
commit
bbff6cdb44
1 changed files with 23 additions and 6 deletions
|
@ -63,8 +63,30 @@ (define-public rust-block-0.1
|
||||||
extension of blocks.")
|
extension of blocks.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-block2-0.5
|
||||||
|
(package
|
||||||
|
(name "rust-block2")
|
||||||
|
(version "0.5.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "block2" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0pyiha5his2grzqr3mynmq244laql2j20992i59asp0gy7mjw4rc"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
;; Must specify the desired runtime using Cargo features on non-Apple platforms
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs (("rust-objc2" ,rust-objc2-0.5))))
|
||||||
|
(home-page "https://github.com/madsmtm/objc2")
|
||||||
|
(synopsis "Apple's C language extension of blocks")
|
||||||
|
(description "This package contains Apple's C language extension of blocks.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-block2-0.3
|
(define-public rust-block2-0.3
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-block2-0.5)
|
||||||
(name "rust-block2")
|
(name "rust-block2")
|
||||||
(version "0.3.0")
|
(version "0.3.0")
|
||||||
(source
|
(source
|
||||||
|
@ -74,15 +96,10 @@ (define-public rust-block2-0.3
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0s2ywcis2xf9444vmdgzr7ankrrkpchn8zimaw950cszm1imdd8m"))))
|
(base32 "0s2ywcis2xf9444vmdgzr7ankrrkpchn8zimaw950cszm1imdd8m"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t ; link kind `framework` is only supported on Apple targets
|
`(#:skip-build? #t ; link kind `framework` is only supported on Apple targets
|
||||||
#:cargo-inputs (("rust-block-sys" ,rust-block-sys-0.2)
|
#:cargo-inputs (("rust-block-sys" ,rust-block-sys-0.2)
|
||||||
("rust-objc2" ,rust-objc2-0.4))))
|
("rust-objc2" ,rust-objc2-0.4))))))
|
||||||
(home-page "https://github.com/madsmtm/objc2")
|
|
||||||
(synopsis "Apple's C language extension of blocks")
|
|
||||||
(description "This package contains Apple's C language extension of blocks.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-block2-0.2
|
(define-public rust-block2-0.2
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue