From 55086c2e3709b625fc67876e2c1492470ccd4aa0 Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Thu, 16 Jan 2020 17:36:29 +0300 Subject: gnu: Add rust-objc-0.2. * gnu/packages/crates-io.scm (rust-objc-0.2): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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") -- cgit v1.2.3