nixpkgs/pkgs/tools/networking/tox-node/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
770 B
Nix
Raw Normal View History

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
cargoHash = "sha256-L5IvYA32W8cTnuWjeljge5X+LZ912ugtcvEKXLqYZ+k=";
2019-04-07 12:29:30 +00:00
passthru.updateScript = nix-update-script { };
2019-04-07 12:29:30 +00:00
meta = with lib; {
2019-04-07 12:29:30 +00:00
description = "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 ];
2024-02-11 02:19:15 +00:00
mainProgram = "tox-node";
2019-04-07 12:29:30 +00:00
};
}