aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-16 17:36:29 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-12 21:35:05 +0200
commit55086c2e3709b625fc67876e2c1492470ccd4aa0 (patch)
tree1b9828b58e30acf44c69969b918d932d9164ee52
parentcf20f8a58257ed5a99a366427da2f5e12beef6aa (diff)
downloadpatches-55086c2e3709b625fc67876e2c1492470ccd4aa0.tar
patches-55086c2e3709b625fc67876e2c1492470ccd4aa0.tar.gz
gnu: Add rust-objc-0.2.
* gnu/packages/crates-io.scm (rust-objc-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d9cc522af6..393ef51114 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8006,6 +8006,31 @@ giga, kibi.")
"This package can convert numbers into stack-allocated byte arrays.")
(license (list license:expat license:asl2.0))))
+(define-public rust-objc-0.2
+ (package
+ (name "rust-objc")
+ (version "0.2.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1cbpf6kz8a244nn1qzl3xyhmp05gsg4n313c9m3567625d3innwi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Tests require gcc-objc.
+ #:cargo-inputs
+ (("rust-malloc-buf" ,rust-malloc-buf-0.0)
+ ("rust-objc-exception" ,rust-objc-exception-0.1))))
+ (home-page "http://github.com/SSheldon/rust-objc")
+ (synopsis "Objective-C Runtime bindings and wrapper for Rust")
+ (description "This package provides an Objective-C Runtime bindings and
+wrapper for Rust.")
+ (license license:expat)))
+
(define-public rust-objc-exception-0.1
(package
(name "rust-objc-exception")