depot/third_party/nixpkgs/pkgs/tools/system/gt5/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

27 lines
619 B
Nix

{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
pname = "gt5";
version = "1.4.0";
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 = "https://gt5.sourceforge.net/";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [viric];
platforms = with lib.platforms; all;
};
}