aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-web.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-18 11:41:20 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:42:59 +0300
commit57e5c8aefae5ab90f9cf0f4b167bcb5380e65cac (patch)
treee98efc1b344e13bfef001437dd93fbcfbc4cabd9 /gnu/packages/crates-web.scm
parent7942845acb61d87d44c476a553a3d5d057347e9f (diff)
downloadguix-57e5c8aefae5ab90f9cf0f4b167bcb5380e65cac.tar.gz
guix-57e5c8aefae5ab90f9cf0f4b167bcb5380e65cac.zip
gnu: Add rust-actix-web-codegen-4.
* gnu/packages/crates-web.scm (rust-actix-web-codegen-4): New variable. (rust-actix-web-codegen-0.4): Inherit from rust-actix-web-codegen-4. Change-Id: Icf104561223ee2d6320580c75c4798e146752f84
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r--gnu/packages/crates-web.scm32
1 files changed, 26 insertions, 6 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 3c9e62c262..35d2916897 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -1655,8 +1655,33 @@ the Actix ecosystem.")
("rust-serde-derive" ,rust-serde-derive-1)
("rust-tokio-timer" ,rust-tokio-timer-0.2))))))
+(define-public rust-actix-web-codegen-4
+ (package
+ (name "rust-actix-web-codegen")
+ (version "4.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-web-codegen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xalrv1s7imzfgxyql6zii5bpxxkk11rlcc8n4ia3v1hpgmm07zb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; use of undeclared crate or module `rustversion`
+ #:cargo-inputs (("rust-actix-router" ,rust-actix-router-0.5)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://actix.rs")
+ (synopsis "Routing and runtime macros for Actix Web")
+ (description
+ "This package provides routing and runtime macros for Actix Web.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-actix-web-codegen-0.4
(package
+ (inherit rust-actix-web-codegen-4)
(name "rust-actix-web-codegen")
(version "0.4.0")
(source
@@ -1666,17 +1691,12 @@ the Actix ecosystem.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1ys3f6q0hgflqvp271s49q88m41db3iynm7ydxy0wgikjdqgf9md"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://actix.rs")
- (synopsis "Actix web proc macros")
- (description "This package provides Actix web proc macros.")
- (license (list license:expat license:asl2.0))))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-actix-web-codegen-0.2
(package