1 { lib, rustPlatform, fetchFromGitHub, nix-update-script }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-3ZRpri3WxwHjMq88TxRJAaTXMui8N1uLek+q8g5PGD4=";
14 buildAndTestSubdir = "tox_node";
16 cargoHash = "sha256-L5IvYA32W8cTnuWjeljge5X+LZ912ugtcvEKXLqYZ+k=";
18 passthru.updateScript = nix-update-script { };
21 description = "Server application to run tox node written in pure Rust";
22 homepage = "https://github.com/tox-rs/tox";
23 license = [ licenses.gpl3Plus ];
24 platforms = platforms.linux;
25 maintainers = with maintainers; [ suhr kurnevsky ];
26 mainProgram = "tox-node";