gnu: rust-ndk-macro: Add 0.3.0.

* gnu/packages/crates-io.scm (rust-ndk-macro-0.3): New variable.
(rust-ndk-macro-0.2): Inherit from it.
This commit is contained in:
Marius Bakke 2022-07-27 14:45:33 +02:00
parent 3113747e92
commit 3336406334
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -36720,8 +36720,33 @@ (define-public rust-ndk-glue-0.2
"This package provides startup code for Android binaries.")
(license (list license:expat license:asl2.0))))
(define-public rust-ndk-macro-0.3
(package
(name "rust-ndk-macro")
(version "0.3.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "ndk-macro" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0v3sxc11kq3d5vdwfml62l7y5dr0flsf6kp5xid9sbv7qh0arxqd"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-darling" ,rust-darling-0.13)
("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/rust-windowing/android-ndk-rs")
(synopsis "Helper macros for android ndk")
(description "This package provides helper macros for android ndk.")
(license (list license:expat license:asl2.0))))
(define-public rust-ndk-macro-0.2
(package
(inherit rust-ndk-macro-0.3)
(name "rust-ndk-macro")
(version "0.2.0")
(source
@ -36731,18 +36756,13 @@ (define-public rust-ndk-macro-0.2
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "07a8vjr4fpksssgp453bf82n73i4i17yj1lvbgvd0964glqcdl85"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-darling" ,rust-darling-0.10)
("rust-proc-macro-crate" ,rust-proc-macro-crate-0.1)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/rust-windowing/android-ndk-rs")
(synopsis "Helper macros for android ndk")
(description "This package provides helper macros for android ndk.")
(license (list license:expat license:asl2.0))))
("rust-syn" ,rust-syn-1))))))
(define-public rust-ndk-sys-0.2
(package