From 41d033fc50f59caeb58f1facdf5cd6ddb3947e48 Mon Sep 17 00:00:00 2001 From: Kevin Cox Date: Mon, 13 Jun 2022 12:43:35 -0400 Subject: [PATCH] watchlog: init at 1.152.0 --- pkgs/tools/misc/watchlog/default.nix | 26 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/tools/misc/watchlog/default.nix 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;