nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, autoreconfHook, fetchFromGitHub, nix-update-script }:
2
3stdenv.mkDerivation rec {
4 pname = "inotify-tools";
5 version = "3.22.1.0";
6
7 src = fetchFromGitHub {
8 repo = "inotify-tools";
9 owner = "inotify-tools";
10 rev = version;
11 sha256 = "sha256-I0kr+wFUWnovH9MXVsGaCBtp4+RnnMWD7sPecI3xz+Y=";
12 };
13
14 nativeBuildInputs = [ autoreconfHook ];
15
16 passthru = {
17 updateScript = nix-update-script {
18 attrPath = pname;
19 };
20 };
21
22 meta = with lib; {
23 homepage = "https://github.com/inotify-tools/inotify-tools/wiki";
24 license = licenses.gpl2Plus;
25 maintainers = with maintainers; [ marcweber pSub shamilton ];
26 platforms = platforms.linux;
27 };
28}