depot/third_party/nixpkgs/pkgs/by-name/in/inotify-info/package.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

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;
};
})