2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchurl, motif, ncurses, libX11, libXt}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-21 07:28:18 +00:00
|
|
|
pname = "ddd";
|
|
|
|
version = "3.3.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2021-07-21 07:28:18 +00:00
|
|
|
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0p5nx387857w3v2jbgvps2p6mlm0chajcdw5sfrddcglsxkwvmis";
|
|
|
|
};
|
|
|
|
buildInputs = [motif ncurses libX11 libXt];
|
|
|
|
configureFlags = [ "--with-x" ];
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
patches = [
|
|
|
|
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504868
|
|
|
|
./gcc44.patch
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-fpermissive";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
postInstall = ''
|
|
|
|
install -D icons/ddd.xpm $out/share/pixmaps/ddd.xpm
|
|
|
|
'';
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "https://www.gnu.org/software/ddd";
|
|
|
|
description = "Graphical front-end for command-line debuggers";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "ddd";
|
2021-08-05 21:33:18 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2022-02-20 05:27:41 +00:00
|
|
|
maintainers = with lib.maintainers; [ emilytrau ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|