diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 1366ebc0dc..b98da39886 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -2093,6 +2093,37 @@ built on the Actix ecosystem.") ("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")