nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6}:
7
8stdenv.mkDerivation (finalAttrs: {
9 pname = "watcher";
10 version = "0.14.3";
11
12 src = fetchFromGitHub {
13 owner = "e-dant";
14 repo = "watcher";
15 tag = finalAttrs.version;
16 hash = "sha256-LDzZk47GHSh+SSolz7FdOVNKsNhVNrrsuNGBtXanC+U=";
17 };
18
19 nativeBuildInputs = [
20 cmake
21 ];
22
23 meta = {
24 description = "Filesystem watcher. Works anywhere. Simple, efficient and friendly";
25 homepage = "https://github.com/e-dant/watcher";
26 changelog = "https://github.com/e-dant/watcher/releases/tag/${finalAttrs.src.tag}";
27 license = lib.licenses.mit;
28 maintainers = with lib.maintainers; [ matthiasbeyer ];
29 mainProgram = "tw";
30 platforms = lib.platforms.all;
31 };
32})