depot/third_party/nixpkgs/pkgs/development/tools/misc/ddd/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

31 lines
847 B
Nix

{lib, stdenv, fetchurl, motif, ncurses, libX11, libXt}:
stdenv.mkDerivation rec {
pname = "ddd";
version = "3.3.12";
src = fetchurl {
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
sha256 = "0p5nx387857w3v2jbgvps2p6mlm0chajcdw5sfrddcglsxkwvmis";
};
buildInputs = [motif ncurses libX11 libXt];
configureFlags = [ "--with-x" ];
patches = [
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504868
./gcc44.patch
];
NIX_CFLAGS_COMPILE = "-fpermissive";
postInstall = ''
install -D icons/ddd.xpm $out/share/pixmaps/ddd.xpm
'';
meta = {
homepage = "https://www.gnu.org/software/ddd";
description = "Graphical front-end for command-line debuggers";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ angustrau ];
};
}