2022-12-10 07:34:48 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, nix-update-script }:
|
2019-04-07 12:29:30 +00:00
|
|
|
|
2022-12-10 07:34:48 +00:00
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 11:41:23 +00:00
|
|
|
pname = "tox-node";
|
2022-12-10 07:34:48 +00:00
|
|
|
version = "0.2.0";
|
2019-04-07 12:29:30 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tox-rs";
|
2022-12-10 07:34:48 +00:00
|
|
|
repo = "tox";
|
2019-04-07 12:29:30 +00:00
|
|
|
rev = "v${version}";
|
2022-12-10 07:34:48 +00:00
|
|
|
sha256 = "sha256-3ZRpri3WxwHjMq88TxRJAaTXMui8N1uLek+q8g5PGD4=";
|
2019-04-07 12:29:30 +00:00
|
|
|
};
|
|
|
|
|
2022-12-10 07:34:48 +00:00
|
|
|
buildAndTestSubdir = "tox_node";
|
2019-04-07 12:29:30 +00:00
|
|
|
|
2022-12-10 07:34:48 +00:00
|
|
|
cargoSha256 = "sha256-L5IvYA32W8cTnuWjeljge5X+LZ912ugtcvEKXLqYZ+k=";
|
2019-04-07 12:29:30 +00:00
|
|
|
|
2022-12-25 22:11:14 +00:00
|
|
|
passthru.updateScript = nix-update-script { };
|
2019-04-07 12:29:30 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-04-07 12:29:30 +00:00
|
|
|
description = "A server application to run tox node written in pure Rust";
|
2022-12-10 07:34:48 +00:00
|
|
|
homepage = "https://github.com/tox-rs/tox";
|
2020-10-07 20:37:19 +00:00
|
|
|
license = [ licenses.gpl3Plus ];
|
2019-04-07 12:29:30 +00:00
|
|
|
platforms = platforms.linux;
|
2021-11-04 17:59:18 +00:00
|
|
|
maintainers = with maintainers; [ suhr kurnevsky ];
|
2019-04-07 12:29:30 +00:00
|
|
|
};
|
|
|
|
}
|