2016-09-11 23:24:51 +02:00
|
|
|
{ stdenv, fetchurl, gtk2, pkgconfig, libxml2, intltool, gettext }:
|
2008-06-16 13:11:56 +02:00
|
|
|
|
2011-02-12 21:16:08 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2010-07-29 20:55:16 +02:00
|
|
|
name = "gdmap-0.8.1";
|
2016-02-07 21:43:42 +01:00
|
|
|
|
2010-07-29 20:55:16 +02:00
|
|
|
src = fetchurl {
|
2011-02-12 21:16:08 +01:00
|
|
|
url = "mirror://sourceforge/gdmap/${name}.tar.gz";
|
2010-07-29 20:55:16 +02:00
|
|
|
sha256 = "0nr8l88cg19zj585hczj8v73yh21k7j13xivhlzl8jdk0j0cj052";
|
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ gtk2 libxml2 intltool gettext ];
|
2010-07-29 20:55:16 +02:00
|
|
|
|
2011-02-12 21:16:08 +01:00
|
|
|
patches = [ ./get_sensitive.patch ./set_flags.patch ];
|
|
|
|
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-07 21:43:42 +01:00
|
|
|
|
2019-10-30 02:29:30 +01:00
|
|
|
NIX_LDFLAGS = "-lm";
|
2019-01-04 20:33:50 +01:00
|
|
|
|
2014-12-19 07:52:14 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://gdmap.sourceforge.net";
|
2010-07-29 20:55:16 +02:00
|
|
|
description = "Recursive rectangle map of disk usage";
|
2014-12-19 07:52:14 +01:00
|
|
|
license = licenses.gpl2;
|
2017-09-22 16:24:29 +02:00
|
|
|
platforms = platforms.linux;
|
2014-12-19 07:52:14 +01:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
2010-07-29 20:55:16 +02:00
|
|
|
};
|
2008-06-16 13:11:56 +02:00
|
|
|
}
|