2021-01-15 09:19:50 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2010-02-24 19:06:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-27 14:21:24 +00:00
|
|
|
pname = "gt5";
|
|
|
|
version = "1.4.0";
|
2021-01-15 09:19:50 +00:00
|
|
|
|
2010-02-24 19:06:25 +00:00
|
|
|
src = fetchurl {
|
2021-07-27 14:21:24 +00:00
|
|
|
url = "mirror://sourceforge/gt5/gt5-${version}.tar.gz";
|
2010-02-24 19:06:25 +00:00
|
|
|
sha256 = "0gm0gzyp4d9rxqddbaskbz5zvmlhyr4nyb5x9g7x4abyyxqjlnkq";
|
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed 's/-o root -g root//' -i Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
makeFlags="$makeFlags PREFIX=$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A diff-capable 'du' browser";
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://gt5.sourceforge.net/";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = with lib.maintainers; [viric];
|
2021-03-19 06:18:32 +00:00
|
|
|
platforms = with lib.platforms; all;
|
2010-02-24 19:06:25 +00:00
|
|
|
};
|
|
|
|
}
|