(address . guix-patches@gnu.org)
* gnu/packages/crates-apple.scm (rust-block-sys-0.2): Order.
Change-Id: I72aa046674e81224f7b6ea1ab9591ee0078bb147
---
gnu/packages/crates-apple.scm | 42 +++++++++++++++++------------------
1 file changed, 21 insertions(+), 21 deletions(-)
Toggle diff (64 lines)
diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm
index 5a2b8ff62c..ed77ffb036 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -64,6 +64,27 @@ (define-public rust-block-0.1
extension of blocks.")
(license license:expat)))
+(define-public rust-block-sys-0.2
+ (package
+ (name "rust-block-sys")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "block-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1rzp0218mwigdmfd5rhmj5h7c1vp0bq0nxaklhsvi8vydrls11df"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; 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-block2-0.5
(package
(name "rust-block2")
@@ -120,27 +141,6 @@ (define-public rust-block2-0.2
(("rust-block-sys" ,rust-block-sys-0.1)
("rust-objc2-encode" ,rust-objc2-encode-2))))))
-(define-public rust-block-sys-0.2
- (package
- (name "rust-block-sys")
- (version "0.2.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "block-sys" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1rzp0218mwigdmfd5rhmj5h7c1vp0bq0nxaklhsvi8vydrls11df"))))
- (build-system cargo-build-system)
- (arguments
- `(#:tests? #f ; 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)
base-commit: e793fbbd5282713fe5c9aad512c5784b0afff175
--
2.45.2