222dcb8ed7
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
24 lines
566 B
Nix
24 lines
566 B
Nix
{ lib, buildPythonPackage, pythonOlder, fetchPypi, pybind11, re2, six }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-re2";
|
|
version = "0.1.20210601";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1f1ql95f97ss8i0rn1c37kgi0qrf1nq9b3q8xbq9x3gwg7xgzi71";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pybind11 re2 six
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "RE2 Python bindings";
|
|
homepage = "https://github.com/google/re2";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ alexbakker ];
|
|
};
|
|
}
|