depot/third_party/nixpkgs/pkgs/tools/misc/watchlog/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

30 lines
774 B
Nix

{
lib,
rustPlatform,
fetchFromGitLab,
}:
rustPlatform.buildRustPackage rec {
pname = "watchlog";
version = "1.213.0";
src = fetchFromGitLab {
owner = "kevincox";
repo = "watchlog";
rev = "v${version}";
sha256 = "sha256-UNywUEhhJy2cJIwl/S9hRReoBfkzvNoN0c4mxp7PuG0=";
};
cargoSha256 = "sha256-HBlfSgR96XIUBj2ZyHi1qaEKP8jG9kcrxJmhIGWjfUE=";
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";
};
}