forked from mirrors/nixpkgs
fnotifystat: fix src/homepage, moved to github
Also touchup the build to match pattern used for other ColinIanKing utilities
This commit is contained in:
parent
67cc0b103a
commit
58eeb07420
|
@ -1,22 +1,26 @@
|
||||||
{ stdenv, lib, fetchurl }:
|
{ stdenv, lib, fetchFromGitHub }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fnotifystat";
|
pname = "fnotifystat";
|
||||||
version = "0.02.07";
|
version = "0.02.07";
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://kernel.ubuntu.com/~cking/tarballs/fnotifystat/fnotifystat-${version}.tar.gz";
|
owner = "ColinIanKing";
|
||||||
sha256 = "0ipfg2gymbgx7bqlx1sq5p2y89k5j18iqnb0wa27n5s3kh9sh8w0";
|
repo = pname;
|
||||||
|
rev = "V${version}";
|
||||||
|
sha256 = "sha256-5oYM1t+vmWywYRbgXI2RGQlOuNJluj2gwCMf3pTpDC0=";
|
||||||
};
|
};
|
||||||
installFlags = [ "DESTDIR=$(out)" ];
|
|
||||||
postInstall = ''
|
installFlags = [
|
||||||
mv $out/usr/* $out
|
"BINDIR=${placeholder "out"}/bin"
|
||||||
rm -r $out/usr
|
"MANDIR=${placeholder "out"}/share/man/man8"
|
||||||
'';
|
"BASHDIR=${placeholder "out"}/share/bash-completion/completions"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "File activity monitoring tool";
|
description = "File activity monitoring tool";
|
||||||
homepage = "https://kernel.ubuntu.com/~cking/fnotifystat/";
|
homepage = "https://github.com/ColinIanKing/fnotifystat";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ womfoo ];
|
maintainers = with maintainers; [ womfoo dtzWill ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue