depot/third_party/nixpkgs/pkgs/development/tools/misc/ddd/default.nix

23 lines
614 B
Nix
Raw Normal View History

{stdenv, fetchurl, motif, ncurses, libX11, libXt}:
stdenv.mkDerivation rec {
name = "ddd-3.3.12";
src = fetchurl {
url = "mirror://gnu/ddd/${name}.tar.gz";
sha256 = "0p5nx387857w3v2jbgvps2p6mlm0chajcdw5sfrddcglsxkwvmis";
};
buildInputs = [motif ncurses libX11 libXt];
configureFlags = [ "--with-x" ];
patches = [ ./gcc44.patch ];
NIX_CFLAGS_COMPILE = "-fpermissive";
meta = {
homepage = "https://www.gnu.org/software/ddd";
description = "Graphical front-end for command-line debuggers";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}