nixpkgs/pkgs/development/tools/parsing/re2c/default.nix

26 lines
646 B
Nix
Raw Normal View History

2016-08-25 17:47:32 +02:00
{ stdenv, fetchFromGitHub, autoreconfHook }:
2012-12-02 00:25:01 +01:00
stdenv.mkDerivation rec {
name = "re2c-${version}";
version = "1.0.3";
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;
sha256 = "0grx7nl9fwcn880v5ssjljhcb9c5p2a6xpwil7zxpmv0rwnr3yqi";
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; {
description = "Tool for writing very fast and very flexible scanners";
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
};
}