From 06c5d807f02418ab7978b051e31311c12199561d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 4 Jan 2024 11:46:11 +0200 Subject: [PATCH] gnu: Add rust-objc2-encode-3. * gnu/packages/crates-io.scm (rust-objc2-encode-3): New variable. (rust-objc2-encode-2): Inherit from rust-objc2-encode-3. Change-Id: I7788193daa3b16efac5f4510ff91b5b43bcd84c0 --- gnu/packages/crates-io.scm | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c1b068f8b2..bcfcbb1564 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -45755,8 +45755,27 @@ Foundation framework.") the Cocoa Foundation framework.") (license license:expat))) +(define-public rust-objc2-encode-3 + (package + (name "rust-objc2-encode") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "objc2-encode" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rknhkcnyj4qv1pzqp5j8l80726phz8fcxpsbpz9nhmg6xdq8yfh")))) + (build-system cargo-build-system) + (home-page "https://github.com/madsmtm/objc2") + (synopsis "Objective-C type-encoding representation and parsing") + (description "This package provides objective-C type-encoding +representation and parsing.") + (license license:expat))) + (define-public rust-objc2-encode-2 (package + (inherit rust-objc2-encode-3) (name "rust-objc2-encode") (version "2.0.0-pre.2") (source (origin @@ -45766,15 +45785,9 @@ the Cocoa Foundation framework.") (sha256 (base32 "04h5wns3hxmc9g652hr9xqzrijs4ij9sdnlgc0ha202v050srz5b")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Test suite wants gcc-objc - #:cargo-inputs (("rust-objc-sys" ,rust-objc-sys-0.2)))) - (home-page "https://github.com/madsmtm/objc2") - (synopsis "Objective-C type-encoding representation and parsing") - (description "This package provides objective-C type-encoding -representation and parsing.") - (license license:expat))) + #:cargo-inputs (("rust-objc-sys" ,rust-objc-sys-0.2)))))) (define-public rust-objc2-proc-macros-0.1 (package