summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-22 19:25:53 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-06 18:29:34 +0100
commit0122efe9b8eeb5809101e77e272d4357ba92f031 (patch)
tree5bfba12319f92b60e15e98983d8e2b35dd0d597a
parentbb9236be5248cc04876a21ecca1fff1541f30dcc (diff)
downloadguix-0122efe9b8eeb5809101e77e272d4357ba92f031.tar.gz
gnu: Add rust-actix-router-0.2.
* gnu/packages/crates-io.scm (rust-actix-router-0.2): New variable.
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2a35cb9f73..2e9f52f321 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -143,6 +143,32 @@ protocols.")
     (description "This package provides Actix runtime macros.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-actix-router-0.2
+  (package
+    (name "rust-actix-router")
+    (version "0.2.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "actix-router" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0df2626hk4n4yki6j88v3k0gcm8pi5hdnm1mldyvyi8nvbdzgldv"))))
+    (build-system cargo-build-system)
+    (arguments
+     ;; Tests fail with "error[E0432]: unresolved import `serde_derive`".
+     `(#:tests? #false
+       #:cargo-inputs
+       (("rust-bytestring" ,rust-bytestring-0.1)
+        ("rust-http" ,rust-http-0.2)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-serde" ,rust-serde-1))))
+    (home-page "https://actix.rs")
+    (synopsis "Resource path matching library")
+    (description "This package provides resource path matching library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-actix-rt-1
   (package
     (name "rust-actix-rt")