flex: Clean up expression

This commit is contained in:
Eelco Dolstra 2014-01-07 14:24:59 +01:00
parent c17e263ae9
commit 320498d529

View File

@ -1,17 +1,16 @@
# This should be moved to default.nix eventually (?)
{stdenv, fetchurl, yacc, m4}:
assert yacc != null && m4 != null;
{ stdenv, fetchurl, bison, m4 }:
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];
buildInputs = [ bison ];
propagatedNativeBuildInputs = [ m4 ];
crossAttrs = {
preConfigure = ''
@ -21,6 +20,7 @@ stdenv.mkDerivation {
};
meta = {
homepage = http://flex.sourceforge.net/;
description = "A fast lexical analyser generator";
};
}