mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
flex: Clean up expression
This commit is contained in:
parent
c17e263ae9
commit
320498d529
1 changed files with 7 additions and 7 deletions
|
@ -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 a new issue