nixpkgs/pkgs/development/tools/parsing/flex/flex-2.5.33.nix

17 lines
453 B
Nix
Raw Normal View History

# !!! 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 = http://surfnet.dl.sourceforge.net/sourceforge/flex/flex-2.5.33.tar.bz2;
md5 = "343374a00b38d9e39d1158b71af37150";
};
buildInputs = [yacc];
propagatedBuildInputs = [m4];
}