mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
30 lines
767 B
Nix
30 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;
|
|
};
|
|
})
|