google-re2: init at 0.1.20210601 (#99938)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Alexander Bakker 2021-06-12 21:54:13 +02:00 committed by GitHub
parent 78d866cd22
commit 222dcb8ed7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ 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 ];
};
}

View File

@ -2944,6 +2944,8 @@ in {
google-pasta = callPackage ../development/python-modules/google-pasta { };
google-re2 = callPackage ../development/python-modules/google-re2 { };
google-resumable-media = callPackage ../development/python-modules/google-resumable-media { };
googletrans = callPackage ../development/python-modules/googletrans { };