diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-18 12:01:34 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:43:07 +0300 |
commit | 3ff2f3a246f128aec13a3b147f9a76defbad5baa (patch) | |
tree | bfdfdaedfc8c7b70a0ba96279a2a0969faee9712 /gnu/packages/crates-web.scm | |
parent | 8a30f06727772a25f4a7678077d62fa33c5af1bc (diff) | |
download | guix-3ff2f3a246f128aec13a3b147f9a76defbad5baa.tar.gz guix-3ff2f3a246f128aec13a3b147f9a76defbad5baa.zip |
gnu: Add rust-axum-macros-0.4.
* gnu/packages/crates-web.scm (rust-axum-macros-0.4): New variable.
Change-Id: I2e08fdeb75f32f05f535c5e1adf1c442958f4b4e
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 31 |
1 files changed, 31 insertions, 0 deletions
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") |