1 { lib, stdenv, fetchurl, gtk2, pkg-config, libxml2, intltool, gettext }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/gdmap/gdmap-${version}.tar.gz";
9 sha256 = "0nr8l88cg19zj585hczj8v73yh21k7j13xivhlzl8jdk0j0cj052";
12 nativeBuildInputs = [ pkg-config intltool ];
13 buildInputs = [ gtk2 libxml2 gettext ];
15 patches = [ ./get_sensitive.patch ./set_flags.patch ];
17 hardeningDisable = [ "format" ];
22 homepage = "https://gdmap.sourceforge.net";
23 description = "Recursive rectangle map of disk usage";
24 license = licenses.gpl2Only;
25 platforms = platforms.linux;
26 maintainers = [ maintainers.bjornfor ];
27 mainProgram = "gdmap";