mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
8ddd79ca2e
svn path=/nixpkgs/trunk/; revision=14941
20 lines
452 B
Nix
20 lines
452 B
Nix
{stdenv, fetchurl, yacc, flex, readline, ncurses}:
|
|
|
|
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";
|
|
};
|
|
|
|
patches = [ ./cdecl-2.5.patch ];
|
|
preBuild = "
|
|
makeFlags=\"PREFIX=$out\"
|
|
";
|
|
buildInputs = [yacc flex readline ncurses];
|
|
|
|
meta = {
|
|
description = "Translator English -- C/C++ declarations";
|
|
};
|
|
}
|