nixpkgs/pkgs/development/tools/parsing/re2c/default.nix
2016-08-25 16:07:40 +00:00

26 lines
649 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
name = "re2c-${version}";
version = "0.16";
sourceRoot = "${name}-src/re2c";
src = fetchFromGitHub {
owner = "skvadrik";
repo = "re2c";
rev = version;
sha256 = "0cijgmbyx34nwl2jmsswggkgvzy364871rkbxz8biq9x8xrhhjw5";
};
nativeBuildInputs = [ autoreconfHook ];
meta = {
description = "Tool for writing very fast and very flexible scanners";
homepage = "http://re2c.org";
license = stdenv.lib.licenses.publicDomain;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
};
}