1 { lib, stdenv, autoreconfHook, fetchFromGitHub, nix-update-script, fanotifySupport ? true }:
3 stdenv.mkDerivation (finalAttrs: {
4 pname = "inotify-tools";
7 src = fetchFromGitHub {
8 repo = "inotify-tools";
9 owner = "inotify-tools";
10 rev = finalAttrs.version;
11 hash = "sha256-6kM2JzxRcwUjUmbUWGnQ+gAvZcn7C32/enRwiYiuQGU=";
15 (lib.enableFeature fanotifySupport "fanotify")
18 nativeBuildInputs = [ autoreconfHook ];
21 updateScript = nix-update-script { };
25 homepage = "https://github.com/inotify-tools/inotify-tools/wiki";
26 license = licenses.gpl2Plus;
27 maintainers = with maintainers; [ marcweber pSub shamilton ];
28 platforms = platforms.linux;