mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
gnu: Add rust-block-sys-0.2.
* gnu/packages/crates-io.scm (rust-block-sys-0.2): New variable. (rust-block-sys-0.1): Inherit from rust-block-sys-0.2. Change-Id: I6841d27dd407cb18f3ad9ecb61947ebe8e08ad54
This commit is contained in:
parent
cbad41f7ea
commit
e1fb2a9b41
1 changed files with 23 additions and 7 deletions
|
@ -7677,8 +7677,30 @@ (define-public rust-block-padding-0.1
|
|||
`(#:cargo-inputs
|
||||
(("rust-byte-tools" ,rust-byte-tools-0.3))))))
|
||||
|
||||
(define-public rust-block-sys-0.2
|
||||
(package
|
||||
(name "rust-block-sys")
|
||||
(version "0.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "block-sys" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "14pddxc4rma833prvlbh5a22q6qwx32hhz7aqmnw1p9cj58czmrd"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t ; Needs to bind to MacOS libraries.
|
||||
#:cargo-inputs (("rust-objc-sys" ,rust-objc-sys-0.3))))
|
||||
(home-page "https://github.com/madsmtm/objc2")
|
||||
(synopsis "Raw bindings to Apple's C language extension of blocks")
|
||||
(description "This package contains raw bindings to Apple's C language
|
||||
extension of blocks.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-block-sys-0.1
|
||||
(package
|
||||
(inherit rust-block-sys-0.2)
|
||||
(name "rust-block-sys")
|
||||
(version "0.1.0-beta.1")
|
||||
(source (origin
|
||||
|
@ -7688,16 +7710,10 @@ (define-public rust-block-sys-0.1
|
|||
(sha256
|
||||
(base32
|
||||
"0ihiar08hk0das4q0ii1gsmql975z3rslli1h13jb44hxr0mg98g"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; Tests require gcc-objc.
|
||||
#:cargo-inputs
|
||||
(("rust-objc-sys" ,rust-objc-sys-0.2))))
|
||||
(home-page "https://github.com/madsmtm/objc2")
|
||||
(synopsis "Raw bindings to Apple's C language extension of blocks")
|
||||
(description "This package contains raw bindings to Apple's C language
|
||||
extension of blocks.")
|
||||
(license license:expat)))
|
||||
(("rust-objc-sys" ,rust-objc-sys-0.2))))))
|
||||
|
||||
(define-public rust-blocking-1
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue