nixpkgs/pkgs/tools/system/gt5/default.nix

28 lines
618 B
Nix
Raw Normal View History

2021-01-15 10:19:50 +01:00
{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
pname = "gt5";
version = "1.4.0";
2021-01-15 10:19:50 +01:00
src = fetchurl {
url = "mirror://sourceforge/gt5/gt5-${version}.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/";
2021-01-15 10:19:50 +01:00
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [viric];
2021-03-19 07:18:32 +01:00
platforms = with lib.platforms; all;
};
}