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