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

31 lines
705 B

{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
12 years ago
stdenv.mkDerivation rec {
pname = "re2c";
version = "2.1.1";
src = fetchFromGitHub {
owner = "skvadrik";
repo = "re2c";
rev = version;
sha256 = "06nvk5sf4vrc2bvpj4vi2xwy3ggv548sn530drz5fi67nhzgga26";
12 years ago
};
nativeBuildInputs = [ autoreconfHook ];
doCheck = true;
enableParallelBuilding = true;
6 years ago
preCheck = ''
patchShebangs run_tests.sh
'';
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
};
}