3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/parsing/re2c/default.nix

26 lines
649 B
Nix
Raw Normal View History

2016-08-25 16:47:32 +01:00
{ stdenv, fetchFromGitHub, autoreconfHook }:
2012-12-01 23:25:01 +00:00
stdenv.mkDerivation rec {
name = "re2c-${version}";
2016-08-25 16:47:32 +01:00
version = "0.16";
2016-08-25 16:47:32 +01:00
sourceRoot = "${name}-src/re2c";
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 = {
description = "Tool for writing very fast and very flexible scanners";
homepage = "http://re2c.org";
2014-08-20 14:30:18 +01:00
license = stdenv.lib.licenses.publicDomain;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
2012-12-01 23:25:01 +00:00
};
}