mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
f9fdf2d402
with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists in env cause a eval failure
32 lines
851 B
Nix
32 lines
851 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
|
|
];
|
|
|
|
env.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; [ emilytrau ];
|
|
};
|
|
}
|