2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-22 07:53:02 +00:00
|
|
|
pname = "gt5";
|
|
|
|
version = "1.4.0";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2021-08-22 07:53:02 +00:00
|
|
|
url = "mirror://sourceforge/gt5/gt5-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0gm0gzyp4d9rxqddbaskbz5zvmlhyr4nyb5x9g7x4abyyxqjlnkq";
|
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed 's/-o root -g root//' -i Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
makeFlags="$makeFlags PREFIX=$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Diff-capable 'du' browser";
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://gt5.sourceforge.net/";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2021-03-23 19:22:30 +00:00
|
|
|
platforms = with lib.platforms; all;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "gt5";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|