diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm index b862138616..9f03787f81 100644 --- a/gnu/packages/crates-apple.scm +++ b/gnu/packages/crates-apple.scm @@ -1570,6 +1570,28 @@ the Cocoa Foundation framework.") framework.") (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-ui-kit-0.2 (package (name "rust-objc2-ui-kit") @@ -1604,28 +1626,6 @@ framework.") (description "This package provides bindings to the UIKit framework.") (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")