mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
flex: Clean up expression
This commit is contained in:
parent
c17e263ae9
commit
320498d529
@ -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";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user