depot/third_party/nixpkgs/pkgs/tools/misc/watchlog/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

30 lines
770 B
Nix

{
lib,
rustPlatform,
fetchFromGitLab,
}:
rustPlatform.buildRustPackage rec {
pname = "watchlog";
version = "1.240.0";
src = fetchFromGitLab {
owner = "kevincox";
repo = "watchlog";
rev = "v${version}";
hash = "sha256-8uNBjkxETQXZOfRtxDg+aS8sIbYTD3g9ttBA4m2wavY=";
};
cargoHash = "sha256-YFQGqkvUgoJJE2B/SQFksWS42YTF/O2tn3CNL54LRUY=";
meta = {
description = "Easier monitoring of live logs";
homepage = "https://gitlab.com/kevincox/watchlog";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ kevincox ];
# Dependency only supports Linux + Windows: https://github.com/mentaljam/standard_paths/tree/master/src
platforms = with lib.platforms; linux ++ windows;
mainProgram = "wl";
};
}