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

commit 96b5e7d0f8c892b0895753b7d079bd51ece39576
Author: Efraim Flashner <[email protected]>
AuthorDate: Thu Nov 14 10:24:42 2024 +0200

    gnu: Add rust-objc2-symbols-0.2.
    
    * gnu/packages/crates-apple.scm (rust-objc2-symbols-0.2): New variable.
    
    Change-Id: I86fae2ca460966b2104b9433dfdfae21b9a603f8
---
 gnu/packages/crates-apple.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm
index fd62d1c34c..8d450b33aa 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -1517,6 +1517,28 @@ the Cocoa Foundation framework.")
     (description "This package provides procedural macros for the objc2 
project.")
     (license license:expat)))
 
+(define-public rust-objc2-symbols-0.2
+  (package
+    (name "rust-objc2-symbols")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "objc2-symbols" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1p04hjkxan18g2b7h9n2n8xxsvazapv2h6mfmmdk06zc7pz4ws0a"))))
+    (build-system cargo-build-system)
+    (arguments
+     ;; Must specify the desired runtime using Cargo features on non-Apple 
platforms
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-objc2" ,rust-objc2-0.5)
+                       ("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
+    (home-page "https://github.com/madsmtm/objc2";)
+    (synopsis "Bindings to the Symbols framework")
+    (description "This package Provides Bindings to the Symbols framework.")
+    (license license:expat)))
+
 (define-public rust-objc2-uniform-type-identifiers-0.2
   (package
     (name "rust-objc2-uniform-type-identifiers")

Reply via email to