1{ lib
2, stdenv
3, fetchFromGitHub
4}:
5
6stdenv.mkDerivation rec {
7 pname = "fnotifystat";
8 version = "0.02.10";
9
10 src = fetchFromGitHub {
11 owner = "ColinIanKing";
12 repo = pname;
13 rev = "V${version}";
14 hash = "sha256-bcb1kSpNZV7eTcEIcaoiqxB68kTc0TGFMIr1Aehy/Rc=";
15 };
16
17 installFlags = [
18 "BINDIR=${placeholder "out"}/bin"
19 "MANDIR=${placeholder "out"}/share/man/man8"
20 "BASHDIR=${placeholder "out"}/share/bash-completion/completions"
21 ];
22
23 meta = with lib; {
24 description = "File activity monitoring tool";
25 homepage = "https://github.com/ColinIanKing/fnotifystat";
26 license = licenses.gpl2Plus;
27 platforms = platforms.linux;
28 maintainers = with maintainers; [ womfoo dtzWill ];
29 };
30}