mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
4f87b2de68
While at it: - added trivial updater - switched github owner and homepage to inotify-tools
29 lines
688 B
Nix
29 lines
688 B
Nix
{ 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;
|
|
};
|
|
}
|