1{ lib
2, stdenv
3, fetchFromGitHub
4}:
5
6stdenv.mkDerivation rec {
7 pname = "fnotifystat";
8 version = "0.03.00";
9
10 src = fetchFromGitHub {
11 owner = "ColinIanKing";
12 repo = pname;
13 rev = "V${version}";
14 hash = "sha256-UGww0/m+JMftQyAguc8UpPrtIphjCq9TINabFaAKN0A=";
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 mainProgram = "fnotifystat";
26 homepage = "https://github.com/ColinIanKing/fnotifystat";
27 license = licenses.gpl2Plus;
28 platforms = platforms.linux;
29 maintainers = with maintainers; [ womfoo ];
30 };
31}