2022-06-16 17:23:12 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
|
|
|
fetchFromGitLab,
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "watchlog";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "1.240.0";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "kevincox";
|
|
|
|
repo = "watchlog";
|
|
|
|
rev = "v${version}";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-8uNBjkxETQXZOfRtxDg+aS8sIbYTD3g9ttBA4m2wavY=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
cargoHash = "sha256-YFQGqkvUgoJJE2B/SQFksWS42YTF/O2tn3CNL54LRUY=";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
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;
|
2023-05-24 13:37:59 +00:00
|
|
|
mainProgram = "wl";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
}
|