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