98eb3e9ef5
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
29 lines
767 B
Nix
29 lines
767 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "inotify-info";
|
|
version = "0.0.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mikesart";
|
|
repo = "inotify-info";
|
|
rev = "refs/tags/v${finalAttrs.version}";
|
|
hash = "sha256-mxZpJMmSCgm5uV5/wknVb1PdxRIF/b2k+6rdOh4b8zA=";
|
|
};
|
|
|
|
buildFlags = ["INOTIFYINFO_VERSION=v${finalAttrs.version}"];
|
|
|
|
installFlags = ["PREFIX=$$out"];
|
|
|
|
meta = with lib; {
|
|
description = "Easily track down the number of inotify watches, instances, and which files are being watched";
|
|
homepage = "https://github.com/mikesart/inotify-info";
|
|
license = licenses.mit;
|
|
mainProgram = "inotify-info";
|
|
maintainers = with maintainers; [ motiejus ];
|
|
platforms = platforms.linux;
|
|
};
|
|
})
|