1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/development/tools/parsing/flex/2.5.35.nix

29 lines
723 B
Nix
Raw Normal View History

2017-07-28 21:17:18 +01:00
{ stdenv, fetchurl, autoreconfHook, flex, bison, texinfo, help2man, m4 }:
2014-04-09 19:42:08 +01:00
2017-07-30 08:46:13 +01:00
stdenv.mkDerivation rec {
2014-04-09 19:42:08 +01:00
name = "flex-2.5.35";
src = fetchurl {
2017-07-28 21:17:18 +01:00
url = https://github.com/westes/flex/archive/flex-2-5-35.tar.gz;
sha256 = "0wh06nix8bd4w1aq4k2fbbkdq5i30a9lxz3xczf3ff28yy0kfwzm";
2014-04-09 19:42:08 +01:00
};
2017-07-28 21:17:18 +01:00
nativeBuildInputs = [ flex bison texinfo help2man autoreconfHook ];
2014-04-09 19:42:08 +01:00
propagatedBuildInputs = [ m4 ];
2014-04-09 19:42:08 +01:00
crossAttrs = {
preConfigure = ''
export ac_cv_func_malloc_0_nonnull=yes
export ac_cv_func_realloc_0_nonnull=yes
'';
};
meta = {
2014-11-03 11:09:48 +00:00
branch = "2.5.35";
2014-04-09 19:42:08 +01:00
homepage = http://flex.sourceforge.net/;
description = "A fast lexical analyser generator";
platforms = stdenv.lib.platforms.unix;
2014-04-09 19:42:08 +01:00
};
}