aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-18 11:37:42 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:42:56 +0300
commit1d6222c27a473ccb2da2c65d932cde5faf37591f (patch)
tree40e28650d070615e73a5ff89fff833262a59d725
parentcaaa3dd5feaba7c6019d3172aa11823cfcd8e87d (diff)
downloadguix-1d6222c27a473ccb2da2c65d932cde5faf37591f.tar
guix-1d6222c27a473ccb2da2c65d932cde5faf37591f.tar.gz
gnu: Add rust-actix-codec-0.5.
* gnu/packages/crates-web.scm (rust-actix-codec-0.5): New variable. (rust-actix-codec-0.3): Inherit from rust-actix-codec-0.5. Change-Id: I2bd8da33c30660b301b126f086dec2105a0a11d2
-rw-r--r--gnu/packages/crates-web.scm39
1 files changed, 31 insertions, 8 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 4a1dd1b5c2..de05d1622a 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -120,8 +120,38 @@
#:cargo-development-inputs
(("rust-doc-comment" ,rust-doc-comment-0.3))))))
+(define-public rust-actix-codec-0.5
+ (package
+ (name "rust-actix-codec")
+ (version "0.5.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "actix-codec" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12m2jxysk2xpxi193340zv4w215cv9fyyna7rxvzh6wck0hhlysz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; use of undeclared crate or module `tokio_test`
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-sink" ,rust-futures-sink-0.3)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-util" ,rust-tokio-util-0.7)
+ ("rust-tracing" ,rust-tracing-0.1))))
+ (home-page "https://github.com/actix/actix-net")
+ (synopsis "Codec utilities for working with framed protocols")
+ (description
+ "This package provides codec utilities for working with framed protocols.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-actix-codec-0.3
(package
+ (inherit rust-actix-codec-0.5)
(name "rust-actix-codec")
(version "0.3.0")
(source
@@ -131,7 +161,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0w7506qd2f8q83z6l5lqx1363ks0ysx8f7qgvy8fknrq70xq7lbq"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
@@ -141,13 +170,7 @@
("rust-log" ,rust-log-0.4)
("rust-pin-project" ,rust-pin-project-0.4)
("rust-tokio" ,rust-tokio-0.2)
- ("rust-tokio-util" ,rust-tokio-util-0.3))))
- (home-page "https://actix.rs")
- (synopsis "Codec utilities for working with framed protocols")
- (description
- "This package provides codec utilities for working with framed
-protocols.")
- (license (list license:expat license:asl2.0))))
+ ("rust-tokio-util" ,rust-tokio-util-0.3))))))
(define-public rust-actix-codec-0.2
(package