2023-07-15 17:15:38 +00:00
|
|
|
{ lib, stdenv, autoreconfHook, fetchFromGitHub, nix-update-script, fanotifySupport ? true }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "inotify-tools";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "4.23.9.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "inotify-tools";
|
2022-01-03 16:56:52 +00:00
|
|
|
owner = "inotify-tools";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = finalAttrs.version;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-6kM2JzxRcwUjUmbUWGnQ+gAvZcn7C32/enRwiYiuQGU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
configureFlags = [
|
|
|
|
(lib.enableFeature fanotifySupport "fanotify")
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2022-01-03 16:56:52 +00:00
|
|
|
passthru = {
|
2022-12-28 21:21:41 +00:00
|
|
|
updateScript = nix-update-script { };
|
2022-01-03 16:56:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2022-01-03 16:56:52 +00:00
|
|
|
homepage = "https://github.com/inotify-tools/inotify-tools/wiki";
|
2021-04-19 03:05:28 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ marcweber pSub shamilton ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2023-07-15 17:15:38 +00:00
|
|
|
})
|