summary refs log tree commit diff
path: root/pkgs/development/tools/parsing/flex/flex-2.5.33.nix
blob: 9be98689aeaa24a868428c9714a53c6860d028de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# !!! this should be moved to default.nix eventually (but I delay
# doing that since it would cause a rebuild of lots of stuff).

{stdenv, fetchurl, yacc, m4}:

assert yacc != null && m4 != null;

stdenv.mkDerivation {
  name = "flex-2.5.33";
  src = fetchurl {
    url = mirror://sourceforge/flex/flex-2.5.33.tar.bz2;
    md5 = "343374a00b38d9e39d1158b71af37150";
  };
  buildInputs = [yacc];
  propagatedBuildInputs = [m4];

  meta = {
    description = "A fast lexical analyser generator";
  };
}