2016-08-25 16:47:32 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
2012-12-01 23:25:01 +00:00
|
|
|
|
2014-08-20 07:12:21 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "re2c-${version}";
|
2016-08-25 16:47:32 +01:00
|
|
|
version = "0.16";
|
2014-08-20 07:12:21 +01:00
|
|
|
|
2017-07-09 09:38:11 +01:00
|
|
|
sourceRoot = "${src.name}/re2c";
|
2016-08-25 16:47:32 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "skvadrik";
|
|
|
|
repo = "re2c";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0cijgmbyx34nwl2jmsswggkgvzy364871rkbxz8biq9x8xrhhjw5";
|
2012-12-01 23:25:01 +00:00
|
|
|
};
|
|
|
|
|
2016-08-25 16:47:32 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2012-12-01 23:25:01 +00:00
|
|
|
meta = {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Tool for writing very fast and very flexible scanners";
|
2014-08-20 07:12:21 +01:00
|
|
|
homepage = "http://re2c.org";
|
2014-08-20 14:30:18 +01:00
|
|
|
license = stdenv.lib.licenses.publicDomain;
|
2014-08-20 07:12:21 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
2012-12-01 23:25:01 +00:00
|
|
|
};
|
|
|
|
}
|