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