2009-04-08 11:09:14 +01:00
|
|
|
{stdenv, fetchurl, yacc, flex, readline, ncurses}:
|
2009-01-24 21:01:27 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "cdecl-2.5";
|
|
|
|
src = fetchurl {
|
|
|
|
url = ftp://metalab.unc.edu/pub/linux/devel/lang/c/cdecl-2.5.tar.gz;
|
|
|
|
md5 = "29895dab52e85b2474a59449e07b7996";
|
|
|
|
};
|
|
|
|
|
2012-03-07 22:12:12 +00:00
|
|
|
patches = [ ./cdecl-2.5-implicit-pointer.patch ./cdecl-2.5.patch ./cdecl-2.5-gentoo.patch ];
|
2009-01-24 21:01:27 +00:00
|
|
|
preBuild = "
|
|
|
|
makeFlags=\"PREFIX=$out\"
|
|
|
|
";
|
2009-04-08 11:09:14 +01:00
|
|
|
buildInputs = [yacc flex readline ncurses];
|
2009-01-24 21:01:27 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Translator English -- C/C++ declarations";
|
2012-03-07 22:20:23 +00:00
|
|
|
license = "Public Domain";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2009-01-24 21:01:27 +00:00
|
|
|
};
|
|
|
|
}
|