2022-06-16 17:23:12 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
|
|
|
fetchFromGitLab,
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "watchlog";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "1.213.0";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "kevincox";
|
|
|
|
repo = "watchlog";
|
|
|
|
rev = "v${version}";
|
2023-05-24 13:37:59 +00:00
|
|
|
sha256 = "sha256-UNywUEhhJy2cJIwl/S9hRReoBfkzvNoN0c4mxp7PuG0=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
cargoSha256 = "sha256-HBlfSgR96XIUBj2ZyHi1qaEKP8jG9kcrxJmhIGWjfUE=";
|
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
|
|
|
};
|
|
|
|
}
|