1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, pybind11 6, re2 7, six 8}: 9 10buildPythonPackage rec { 11 pname = "google-re2"; 12 version = "1.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-06lGfuUrRqx3ypKPbQy+rM/ZLwPKDw9lud9qlRhPOhw="; 20 }; 21 22 propagatedBuildInputs = [ 23 pybind11 24 re2 25 six 26 ]; 27 28 pythonImportsCheck = [ 29 "re2" 30 ]; 31 32 meta = with lib; { 33 description = "RE2 Python bindings"; 34 homepage = "https://github.com/google/re2"; 35 license = licenses.bsd3; 36 maintainers = with maintainers; [ alexbakker ]; 37 }; 38}