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