mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-18 08:51:48 -05:00
gnu: Add rust-actix-rt-2.
* gnu/packages/crates-io.scm (rust-actix-rt-2): New variable. (rust-actix-rt-1): Inherit from rust-actix-rt-2. Change-Id: Ife436711a9b6bc23560a69d4ca65c97fb46a4d84
This commit is contained in:
parent
9d5abdc8b7
commit
446c232fdf
1 changed files with 25 additions and 6 deletions
|
@ -956,8 +956,32 @@ (define-public rust-actix-router-0.1
|
|||
("rust-serde" ,rust-serde-1)
|
||||
("rust-string" ,rust-string-0.2))))))
|
||||
|
||||
(define-public rust-actix-rt-2
|
||||
(package
|
||||
(name "rust-actix-rt")
|
||||
(version "2.9.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "actix-rt" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "078mjccgha4xlqk2hjb9hxfg26pmpra9v2h2w0m40gvx5102vwr8"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; use of undeclared crate or module `hyper`
|
||||
#:cargo-inputs (("rust-actix-macros" ,rust-actix-macros-0.2)
|
||||
("rust-futures-core" ,rust-futures-core-0.3)
|
||||
("rust-tokio" ,rust-tokio-1)
|
||||
("rust-tokio-uring" ,rust-tokio-uring-0.4))))
|
||||
(home-page "https://actix.rs")
|
||||
(synopsis "Actix runtime")
|
||||
(description "This package provides Actix runtime.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-actix-rt-1
|
||||
(package
|
||||
(inherit rust-actix-rt-2)
|
||||
(name "rust-actix-rt")
|
||||
(version "1.1.1")
|
||||
(source
|
||||
|
@ -967,7 +991,6 @@ (define-public rust-actix-rt-1
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "09xj7pxy0ng13rd6hya1md98dhk0586p4bsfrwmxxlg028lwqgql"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-actix-macros" ,rust-actix-macros-0.1)
|
||||
|
@ -976,11 +999,7 @@ (define-public rust-actix-rt-1
|
|||
("rust-futures-channel" ,rust-futures-channel-0.3)
|
||||
("rust-futures-util" ,rust-futures-util-0.3)
|
||||
("rust-smallvec" ,rust-smallvec-1)
|
||||
("rust-tokio" ,rust-tokio-0.2))))
|
||||
(home-page "https://actix.rs")
|
||||
(synopsis "Actix runtime")
|
||||
(description "This package provides Actix runtime.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-tokio" ,rust-tokio-0.2))))))
|
||||
|
||||
(define-public rust-actix-rt-0.2
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue