1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/development/tools/parsing/flex/flex-2.5.33.nix
Eelco Dolstra 607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00

21 lines
500 B
Nix

# !!! 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";
};
}