summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-04-23 16:01:58 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:34 +0300
commit55c4bb2db6c762016bca1ee99233ea58b59934f5 (patch)
treea77764adaf74d31745d5e66dec5ef884aad41bef /gnu/packages/crates-io.scm
parent9e827f8efa4963d6d929952e5025af3070fce61f (diff)
downloadguix-55c4bb2db6c762016bca1ee99233ea58b59934f5.tar.gz
gnu: Add rust-objc-sys-0.2.
* gnu/packages/crates-io.scm (rust-objc-sys-0.2): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1b66156804..1f09862589 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39770,6 +39770,23 @@ Foundation framework.")
      "This package provides raw bindings to the Objective-C runtime and ABI.")
     (license license:expat)))
 
+(define-public rust-objc-sys-0.2
+  (package
+    (inherit rust-objc-sys-0.3)
+    (name "rust-objc-sys")
+    (version "0.2.0-beta.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "objc-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1msm1bwv69k12ikxm71mi1ifrbx2bzsmk2w2bah98mp9q4s9hfyz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t         ; Needs gcc-objc
+       #:cargo-inputs (("rust-cc" ,rust-cc-1))))))
+
 (define-public rust-objc-test-utils-0.0
   (package
     (name "rust-objc-test-utils")