summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-22 13:41:48 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-22 13:41:48 +0100
commitb3bc291cae8430242a4eab4ea272b48635b4adc4 (patch)
tree27a45fb0554531d80ffab447de9f34ad6ba49844
parent0f1d39c7bab062002089f237e6161fe7ce2a8662 (diff)
downloadguix-b3bc291cae8430242a4eab4ea272b48635b4adc4.tar.gz
gnu: Add rust-actix-web-codegen-0.1.
* gnu/packages/crates-io.scm (rust-actix-web-codegen-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f595008f5e..a2360335b9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1516,6 +1516,29 @@ Rust.")
        (("rust-actix-rt" ,rust-actix-rt-1)
         ("rust-actix-web" ,rust-actix-web-2))))))
 
+(define-public rust-actix-web-codegen-0.1
+  (package
+    (inherit rust-actix-web-codegen-0.4)
+    (name "rust-actix-web-codegen")
+    (version "0.1.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "actix-web-codegen" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "1frs0id6k1vjczhnfhwh8q8birp27imlvgi6jylfxh911r9372h6"))))
+    (arguments
+      `(#:cargo-inputs
+        (("rust-proc-macro2" ,rust-proc-macro2-1)
+         ("rust-quote" ,rust-quote-1)
+         ("rust-syn" ,rust-syn-1))
+        #:cargo-development-inputs
+        (("rust-actix-http" ,rust-actix-http-0.2)
+         ("rust-actix-http-test" ,rust-actix-http-test-0.2)
+         ("rust-actix-web" ,rust-actix-web-1)
+         ("rust-futures" ,rust-futures-0.1))))))
+
 (define-public rust-adaptive-barrier-0.1
   (package
     (name "rust-adaptive-barrier")