3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system/gt5/default.nix
2021-03-19 13:18:32 +07:00

27 lines
595 B
Nix

{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "gt5-1.4.0";
src = fetchurl {
url = "mirror://sourceforge/gt5/${name}.tar.gz";
sha256 = "0gm0gzyp4d9rxqddbaskbz5zvmlhyr4nyb5x9g7x4abyyxqjlnkq";
};
patchPhase = ''
sed 's/-o root -g root//' -i Makefile
'';
preConfigure = ''
makeFlags="$makeFlags PREFIX=$out"
'';
meta = {
description = "A diff-capable 'du' browser";
homepage = "http://gt5.sourceforge.net/";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [viric];
platforms = with lib.platforms; all;
};
}