nixpkgs/pkgs/tools/misc/watchlog/default.nix

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

31 lines
774 B
Nix
Raw Normal View History

2022-06-13 16:43:35 +00:00
{
lib,
rustPlatform,
fetchFromGitLab,
}:
rustPlatform.buildRustPackage rec {
pname = "watchlog";
version = "1.213.0";
2022-06-13 16:43:35 +00:00
src = fetchFromGitLab {
owner = "kevincox";
repo = "watchlog";
rev = "v${version}";
sha256 = "sha256-UNywUEhhJy2cJIwl/S9hRReoBfkzvNoN0c4mxp7PuG0=";
2022-06-13 16:43:35 +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 ];
# Dependency only supports Linux + Windows: https://github.com/mentaljam/standard_paths/tree/master/src
platforms = with lib.platforms; linux ++ windows;
mainProgram = "wl";
2022-06-13 16:43:35 +00:00
};
}