From 9e827f8efa4963d6d929952e5025af3070fce61f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 23 Apr 2023 16:01:27 +0300 Subject: [PATCH] gnu: Add rust-objc-sys-0.3. * gnu/packages/crates-io.scm (rust-objc-sys-0.3): New variable. --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e6ddc001f6..1b66156804 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39749,6 +39749,27 @@ (define-public rust-objc-id-0.1 "This package provides Rust smart pointers for Objective-C reference counting.") (license license:expat))) +(define-public rust-objc-sys-0.3 + (package + (name "rust-objc-sys") + (version "0.3.0") + (source (origin + (method url-fetch) + (uri (crate-uri "objc-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18qqjf2qwlhzzzlf8d5zisn0m92607kyp17kqk31v07njc5gyc6s")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Needs gcc-objc + #:cargo-inputs (("rust-cc" ,rust-cc-1)))) + (home-page "https://github.com/madsmtm/objc2") + (synopsis "Raw bindings to the Objective-C runtime and ABI") + (description + "This package provides raw bindings to the Objective-C runtime and ABI.") + (license license:expat))) + (define-public rust-objc-test-utils-0.0 (package (name "rust-objc-test-utils")