summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/wa/watcher/package.nix
blob: 63a191d4ef00e2b8def6a7c1b7737c7c612e13cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  stdenv,
  fetchFromGitHub,
  cmake,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "watcher";
  version = "0.14.5";

  src = fetchFromGitHub {
    owner = "e-dant";
    repo = "watcher";
    tag = finalAttrs.version;
    hash = "sha256-KoBJdjzYsZiZ/75z1fORpMHTnkSkUnAbxmOWke0a5xE=";
  };

  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/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ matthiasbeyer ];
    mainProgram = "tw";
    platforms = lib.platforms.all;
  };
})