fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
631 B
Nix
37 lines
631 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchPypi,
|
|
pybind11,
|
|
re2,
|
|
six,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-re2";
|
|
version = "1.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-06lGfuUrRqx3ypKPbQy+rM/ZLwPKDw9lud9qlRhPOhw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pybind11
|
|
re2
|
|
six
|
|
];
|
|
|
|
pythonImportsCheck = [ "re2" ];
|
|
|
|
meta = with lib; {
|
|
description = "RE2 Python bindings";
|
|
homepage = "https://github.com/google/re2";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ alexbakker ];
|
|
};
|
|
}
|