about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/misc/inotify-tools/default.nix
blob: 51c23eed8f3c1d6edb289c1f0a435483942524a8 (plain) (blame)
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
{ lib, stdenv, autoreconfHook, fetchFromGitHub, nix-update-script }:

stdenv.mkDerivation rec {
  pname = "inotify-tools";
  version = "3.21.9.6";

  src = fetchFromGitHub {
    repo = "inotify-tools";
    owner = "inotify-tools";
    rev = version;
    sha256 = "sha256-oKcVmF39N43g8O1S+xwUhVJryFcW+ZUteyoe3fUkRH8=";
  };

  nativeBuildInputs = [ autoreconfHook ];

  passthru = {
    updateScript = nix-update-script {
      attrPath = pname;
    };
  };

  meta = with lib; {
    homepage = "https://github.com/inotify-tools/inotify-tools/wiki";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ marcweber pSub shamilton ];
    platforms = platforms.linux;
  };
}