diff --git a/pkgs/tools/misc/watchlog/default.nix b/pkgs/tools/misc/watchlog/default.nix new file mode 100644 index 000000000000..1cc323ca4577 --- /dev/null +++ b/pkgs/tools/misc/watchlog/default.nix @@ -0,0 +1,26 @@ +{ + lib, + rustPlatform, + fetchFromGitLab, +}: + +rustPlatform.buildRustPackage rec { + pname = "watchlog"; + version = "1.152.0"; + + src = fetchFromGitLab { + owner = "kevincox"; + repo = "watchlog"; + rev = "v${version}"; + sha256 = "sha256-m0sqLi5qxQKfdFtHxo0DX4bV6lUNZP1JWt8NAfY+F5A="; + }; + + cargoSha256 = "sha256-uIaGIHBB/ntGyBZL45E61E9fELR8UGRieb/fJQsB5NE="; + + meta = { + description = "Easier monitoring of live logs"; + homepage = "https://gitlab.com/kevincox/watchlog"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ kevincox ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5d53db14aa9d..2b3575040922 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11425,6 +11425,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) CoreServices Foundation; }; + watchlog = callPackage ../tools/misc/watchlog { }; + watchman = callPackage ../development/tools/watchman { inherit (darwin.apple_sdk.frameworks) CoreServices; autoconf = buildPackages.autoconf269;