guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/34: gnu: Add rust-actix-router-0.2.


From: guix-commits
Subject: 10/34: gnu: Add rust-actix-router-0.2.
Date: Wed, 6 Jan 2021 12:32:27 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 0122efe9b8eeb5809101e77e272d4357ba92f031
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Dec 22 19:25:53 2020 +0100

    gnu: Add rust-actix-router-0.2.
    
    * gnu/packages/crates-io.scm (rust-actix-router-0.2): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2a35cb9..2e9f52f 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]