2022-06-13 16:43:35 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
|
|
|
fetchFromGitLab,
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "watchlog";
|
2023-05-16 14:38:58 +00:00
|
|
|
version = "1.213.0";
|
2022-06-13 16:43:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "kevincox";
|
|
|
|
repo = "watchlog";
|
|
|
|
rev = "v${version}";
|
2023-05-16 14:38:58 +00:00
|
|
|
sha256 = "sha256-UNywUEhhJy2cJIwl/S9hRReoBfkzvNoN0c4mxp7PuG0=";
|
2022-06-13 16:43:35 +00:00
|
|
|
};
|
|
|
|
|
2023-05-16 14:38:58 +00:00
|
|
|
cargoSha256 = "sha256-HBlfSgR96XIUBj2ZyHi1qaEKP8jG9kcrxJmhIGWjfUE=";
|
2022-06-13 16:43:35 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Easier monitoring of live logs";
|
|
|
|
homepage = "https://gitlab.com/kevincox/watchlog";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ kevincox ];
|
2022-06-14 13:11:06 +00:00
|
|
|
|
|
|
|
# Dependency only supports Linux + Windows: https://github.com/mentaljam/standard_paths/tree/master/src
|
|
|
|
platforms = with lib.platforms; linux ++ windows;
|
2023-05-16 14:38:58 +00:00
|
|
|
mainProgram = "wl";
|
2022-06-13 16:43:35 +00:00
|
|
|
};
|
|
|
|
}
|