summary refs log tree commit diff
path: root/pkgs/development/tools/parsing/flex/flex-new.nix
blob: fddd8eaa6cd9284ab226f722e3ab583afe80782a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# !!! 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.31";
  src = fetchurl {
    url = http://catamaran.labs.cs.uu.nl/dist/tarballs/flex-2.5.31.tar.bz2;
    md5 = "363dcc4afc917dc51306eb9d3de0152f";
  };
  buildInputs = [yacc];
  propagatedBuildInputs = [m4];
}