From 903e45c6c2e293a1eff450f113ac85aec1779ec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Reyrol?= Date: Fri, 20 Dec 2024 18:42:46 +0100 Subject: [PATCH] watcher: init at 0.13.2 --- pkgs/by-name/wa/watcher/package.nix | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgs/by-name/wa/watcher/package.nix diff --git a/pkgs/by-name/wa/watcher/package.nix b/pkgs/by-name/wa/watcher/package.nix new file mode 100644 index 000000000000..24b0a7d00937 --- /dev/null +++ b/pkgs/by-name/wa/watcher/package.nix @@ -0,0 +1,32 @@ +{ + lib, + stdenv, + fetchFromGitHub, + cmake, +}: + +stdenv.mkDerivation rec { + pname = "watcher"; + version = "0.13.2"; + + src = fetchFromGitHub { + owner = "e-dant"; + repo = "watcher"; + tag = version; + hash = "sha256-PpDeZBOdWJewZAyE1J1+IF8TxlkPXUuA9TDpQqtG8I4="; + }; + + nativeBuildInputs = [ + cmake + ]; + + meta = { + description = "Filesystem watcher. Works anywhere. Simple, efficient and friendly"; + homepage = "https://github.com/e-dant/watcher"; + changelog = "https://github.com/e-dant/watcher/releases/tag/${src.tag}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ gaelreyrol ]; + mainProgram = "tw"; + platforms = lib.platforms.all; + }; +}