re2c: 2.1.1 -> 2.2

Pull in new python3 tests-only dependency.
main
Sergei Trofimovich 3 years ago
parent 323ea758dd
commit 82571f3636
  1. 18
      pkgs/development/tools/parsing/re2c/default.nix

@ -1,23 +1,31 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, python3
}:
stdenv.mkDerivation rec {
pname = "re2c";
version = "2.1.1";
version = "2.2";
src = fetchFromGitHub {
owner = "skvadrik";
repo = "re2c";
rev = version;
sha256 = "06nvk5sf4vrc2bvpj4vi2xwy3ggv548sn530drz5fi67nhzgga26";
sha256 = "0snfxk1cf2f4dy4hcxd1fx1grav3di0qjgqqn97k85zsf9f6ys78";
};
nativeBuildInputs = [ autoreconfHook ];
nativeBuildInputs = [
autoreconfHook
python3
];
doCheck = true;
enableParallelBuilding = true;
preCheck = ''
patchShebangs run_tests.sh
patchShebangs run_tests.py
'';
meta = with lib; {

Loading…
Cancel
Save