Drop obsolete versions of flex: we only used the latest one, 2.5.35.

This commit is contained in:
Peter Simons
2013-09-09 10:39:56 +02:00
parent 2c5851b633
commit 6451264e63
7 changed files with 1 additions and 71 deletions
@@ -0,0 +1,26 @@
# This should be moved to default.nix eventually (?)
{stdenv, fetchurl, yacc, m4}:
assert yacc != null && m4 != null;
stdenv.mkDerivation {
name = "flex-2.5.35";
src = fetchurl {
url = mirror://sourceforge/flex/flex-2.5.35.tar.bz2;
sha256 = "0ysff249mwhq0053bw3hxh58djc0gy7vjan2z1krrf9n5d5vvv0b";
};
buildInputs = [yacc];
propagatedNativeBuildInputs = [m4];
crossAttrs = {
preConfigure = ''
export ac_cv_func_malloc_0_nonnull=yes
export ac_cv_func_realloc_0_nonnull=yes
'';
};
meta = {
description = "A fast lexical analyser generator";
};
}