diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-22 19:10:45 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-06 18:29:33 +0100 |
commit | 88d4cc0890c6a82e2c71859e0223ced6fe503a55 (patch) | |
tree | 1503ab22a7cf305069e1ffee9d09c42a66f26272 /gnu/packages | |
parent | d793a0f81eb765110b635159b9b337aeb3fd258e (diff) | |
download | guix-88d4cc0890c6a82e2c71859e0223ced6fe503a55.tar.gz |
gnu: Add rust-actix-server-1.
* gnu/packages/crates-io.scm (rust-actix-server-1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d707cccf48..d8a6b1d712 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -169,6 +169,41 @@ protocols.") (description "This package provides Actix runtime.") (license (list license:expat license:asl2.0)))) +(define-public rust-actix-server-1 + (package + (name "rust-actix-server") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-server" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13khzd6pz9pqksxmw2syipfwq2gi5v9warx6pa24g8iccxp7wh25")))) + (build-system cargo-build-system) + (arguments + ;; Tests fail with "error[E0432]: unresolved import `bytes`" error. + `(#:tests? #false + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.3) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-actix-utils" ,rust-actix-utils-2) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-mio" ,rust-mio-0.6) + ("rust-mio-uds" ,rust-mio-uds-0.6) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-slab" ,rust-slab-0.4) + ("rust-socket2" ,rust-socket2-0.3)))) + (home-page "https://actix.rs") + (synopsis "General purpose TCP server built for the Actix ecosystem") + (description + "This package provides a general purpose TCP server built for the Actix +ecosystem.") + (license (list license:expat license:asl2.0)))) + (define-public rust-actix-service-1 (package (name "rust-actix-service") |