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