1{ lib, buildPythonPackage, pythonOlder, fetchPypi, pybind11, re2, six }:
2
3buildPythonPackage rec {
4 pname = "google-re2";
5 version = "0.2.20211101";
6 disabled = pythonOlder "3.6";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "305dc0f749c1abad51f8dc59b49b98a58dc06b976727f6b711c87c01944046d9";
11 };
12
13 propagatedBuildInputs = [
14 pybind11 re2 six
15 ];
16
17 meta = with lib; {
18 description = "RE2 Python bindings";
19 homepage = "https://github.com/google/re2";
20 license = licenses.bsd3;
21 maintainers = with maintainers; [ alexbakker ];
22 };
23}