re2c: 2.1.1 -> 2.2

Pull in new python3 tests-only dependency.
This commit is contained in:
Sergei Trofimovich 2021-08-19 17:10:35 +01:00
parent 323ea758dd
commit 82571f3636

View File

@ -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; {