My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/tools/parsing/re2c/default.nix

39 lines
734 B

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, python3
}:
12 years ago
stdenv.mkDerivation rec {
pname = "re2c";
version = "2.2";
src = fetchFromGitHub {
owner = "skvadrik";
repo = "re2c";
rev = version;
sha256 = "0snfxk1cf2f4dy4hcxd1fx1grav3di0qjgqqn97k85zsf9f6ys78";
12 years ago
};
nativeBuildInputs = [
autoreconfHook
python3
];
doCheck = true;
enableParallelBuilding = true;
6 years ago
preCheck = ''
patchShebangs run_tests.py
6 years ago
'';
meta = with lib; {
description = "Tool for writing very fast and very flexible scanners";
homepage = "https://re2c.org";
license = licenses.publicDomain;
platforms = platforms.all;
maintainers = with maintainers; [ thoughtpolice ];
12 years ago
};
}