[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
286/330: gnu: Add rust-rocket-codegen-0.5.
From: |
guix-commits |
Subject: |
286/330: gnu: Add rust-rocket-codegen-0.5. |
Date: |
Mon, 18 Mar 2024 07:16:38 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 5117288f80d8ec8f2d766448c0d0c6a9c85295d1
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 11:59:12 2024 +0200
gnu: Add rust-rocket-codegen-0.5.
* gnu/packages/crates-web.scm (rust-rocket-codegen-0.5): New variable.
(rust-rocket-codegen-0.4): Inherit from rust-rocket-codegen-0.5.
Change-Id: If481535884a8e89cabcbccc9b35dd0a289e61989
---
gnu/packages/crates-web.scm | 43 ++++++++++++++++++++++++++++++++++++-------
1 file changed, 36 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index b4f7f62b40..7c9eb84020 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -4499,8 +4499,43 @@ in the Rust programming language.")
and speed.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rocket-codegen-0.5
+ (package
+ (name "rust-rocket-codegen")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rocket_codegen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0k6hdf9s9y73kzj89qs688gnfjj1sl4imp6pdjz22pzpmdk808x2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; can't find crate for `rocket`
+ #:cargo-inputs (("rust-devise" ,rust-devise-0.4)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-rocket-http" ,rust-rocket-http-0.5)
+ ("rust-syn" ,rust-syn-2)
+ ("rust-unicode-xid" ,rust-unicode-xid-0.2)
+ ("rust-version-check" ,rust-version-check-0.9))
+ #:cargo-development-inputs
+ (("rust-pretty-assertions" ,rust-pretty-assertions-1)
+ ("rust-time" ,rust-time-0.3)
+ ("rust-trybuild" ,rust-trybuild-1)
+ ("rust-version-check" ,rust-version-check-0.9))))
+ (home-page "https://rocket.rs")
+ (synopsis "Procedural macros for the Rocket web framework")
+ (description
+ "This package provides procedural macros for the Rocket web framework.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rocket-codegen-0.4
(package
+ (inherit rust-rocket-codegen-0.5)
(name "rust-rocket-codegen")
(version "0.4.7")
(source
@@ -4510,7 +4545,6 @@ and speed.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "18s2dll8c4sd26s8cfr6cizj5z55xwnk6r6x7b2wvcf8n9ajrb6f"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -4520,12 +4554,7 @@ and speed.")
("rust-quote" ,rust-quote-0.6)
("rust-rocket-http" ,rust-rocket-http-0.4)
("rust-version-check" ,rust-version-check-0.9)
- ("rust-yansi" ,rust-yansi-0.5))))
- (home-page "https://rocket.rs")
- (synopsis "Procedural macros for the Rocket web framework")
- (description
- "This package provides procedural macros for the Rocket web framework.")
- (license (list license:expat license:asl2.0))))
+ ("rust-yansi" ,rust-yansi-0.5))))))
(define-public rust-rocket-http-0.4
(package
- 263/330: gnu: rust-termios-0.3: Update to 0.3.3., (continued)
- 263/330: gnu: rust-termios-0.3: Update to 0.3.3., guix-commits, 2024/03/18
- 264/330: gnu: Add rust-tokio-tungstenite-0.21., guix-commits, 2024/03/18
- 266/330: gnu: Add rust-actix-http-3., guix-commits, 2024/03/18
- 267/330: gnu: Add rust-actix-router-0.5., guix-commits, 2024/03/18
- 270/330: gnu: Add rust-actix-tls-3., guix-commits, 2024/03/18
- 276/330: gnu: Add rust-headers-core-0.3., guix-commits, 2024/03/18
- 278/330: gnu: Add rust-poem-1., guix-commits, 2024/03/18
- 277/330: gnu: Add rust-poem-derive-1., guix-commits, 2024/03/18
- 273/330: gnu: Add rust-actix-web-codegen-4., guix-commits, 2024/03/18
- 284/330: gnu: Add rust-axum-core-0.4., guix-commits, 2024/03/18
- 286/330: gnu: Add rust-rocket-codegen-0.5.,
guix-commits <=
- 285/330: gnu: Add rust-axum-extra-0.9., guix-commits, 2024/03/18
- 289/330: gnu: Add rust-tungstenite-0.16., guix-commits, 2024/03/18
- 288/330: gnu: Add rust-rocket-http-0.5., guix-commits, 2024/03/18
- 282/330: gnu: Add rust-rust-embed-impl-8., guix-commits, 2024/03/18
- 290/330: gnu: Add rust-tiny-http-0.11., guix-commits, 2024/03/18
- 301/330: gnu: Add rust-stable-pattern-0.1., guix-commits, 2024/03/18
- 297/330: gnu: Add rust-thin-vec-0.2., guix-commits, 2024/03/18
- 298/330: gnu: Add rust-textnonce-1., guix-commits, 2024/03/18
- 299/330: gnu: Add rust-symbolic-demangle-9., guix-commits, 2024/03/18
- 304/330: gnu: Add rust-prost-types-0.10., guix-commits, 2024/03/18