depot/third_party/nixpkgs/pkgs/tools/networking/tox-node/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

28 lines
772 B
Nix

{ lib, rustPlatform, fetchFromGitHub, nix-update-script }:
rustPlatform.buildRustPackage rec {
pname = "tox-node";
version = "0.2.0";
src = fetchFromGitHub {
owner = "tox-rs";
repo = "tox";
rev = "v${version}";
sha256 = "sha256-3ZRpri3WxwHjMq88TxRJAaTXMui8N1uLek+q8g5PGD4=";
};
buildAndTestSubdir = "tox_node";
cargoSha256 = "sha256-L5IvYA32W8cTnuWjeljge5X+LZ912ugtcvEKXLqYZ+k=";
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Server application to run tox node written in pure Rust";
homepage = "https://github.com/tox-rs/tox";
license = [ licenses.gpl3Plus ];
platforms = platforms.linux;
maintainers = with maintainers; [ suhr kurnevsky ];
mainProgram = "tox-node";
};
}