@@ -1,23 +1,38 @@
1−{ lib, buildPythonPackage, pythonOlder, fetchPypi, pybind11, re2, six }:
1+{ lib
2+, buildPythonPackage
3+, pythonOlder
4+, fetchPypi
5+, pybind11
6+, re2
7+, six
8+}:
29
310buildPythonPackage rec {
411 pname = "google-re2";
5− version = "0.2.20220201";
6− disabled = pythonOlder "3.6";
12+ version = "0.2.20220401";
13+ format = "setuptools";
14+
15+ disabled = pythonOlder "3.7";
716
817 src = fetchPypi {
918 inherit pname version;
10− sha256 = "sha256-H8eMC1dM+9ukuRIN4uWWs7oRuQ0tpGaCwaCl0tp+lE8=";
19+ hash = "sha256-v3G+MvFV8gq9LJqj/zrtlTjRm0ZNxTh0UdQSPiwFHY4=";
1120 };
1221
1322 propagatedBuildInputs = [
14− pybind11 re2 six
23+ pybind11
24+ re2
25+ six
26+ ];
27+
28+ pythonImportsCheck = [
29+ "re2"
1530 ];
1631
1732 meta = with lib; {
1833 description = "RE2 Python bindings";
19− homepage = "https://github.com/google/re2";
20− license = licenses.bsd3;
34+ homepage = "https://github.com/google/re2";
35+ license = licenses.bsd3;
2136 maintainers = with maintainers; [ alexbakker ];
2237 };
2338}