gnu: Add rust-axum-macros-0.4.

* gnu/packages/crates-web.scm (rust-axum-macros-0.4): New variable.

Change-Id: I2e08fdeb75f32f05f535c5e1adf1c442958f4b4e
This commit is contained in:
Efraim Flashner 2024-03-18 12:01:34 +02:00
parent 8a30f06727
commit 3ff2f3a246
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2093,6 +2093,37 @@ (define-public rust-axum-core-0.3
("rust-tokio" ,rust-tokio-1)
("rust-tower-http" ,rust-tower-http-0.4))))))
(define-public rust-axum-macros-0.4
(package
(name "rust-axum-macros")
(version "0.4.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "axum-macros" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1ahfy8z5z2xlibj41gyr2jm84di1x1s660g13jcfajh15pp5bh00"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Tests unexpectedly pass.
#:cargo-inputs (("rust-heck" ,rust-heck-0.4)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))
#:cargo-development-inputs (("rust-axum" ,rust-axum-0.7)
("rust-axum-extra" ,rust-axum-extra-0.9)
("rust-rustversion" ,rust-rustversion-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-syn" ,rust-syn-2)
("rust-tokio" ,rust-tokio-1)
("rust-trybuild" ,rust-trybuild-1))))
(home-page "https://github.com/tokio-rs/axum")
(synopsis "Macros for axum")
(description "This package provides macros for axum.")
(license license:expat)))
(define-public rust-axum-extra-0.9
(package
(name "rust-axum-extra")