guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

378/471: gnu: Add rust-objc-sys-0.3.


From: guix-commits
Subject: 378/471: gnu: Add rust-objc-sys-0.3.
Date: Wed, 3 May 2023 09:28:58 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 4d0df4ea659d158e62d89073b0f4033fa6a1b501
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Apr 23 16:01:27 2023 +0300

    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 @@ Foundation framework.")
      "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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]