2018-12-13 10:48:18 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, re2
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fb-re2";
|
2019-02-14 07:37:15 +00:00
|
|
|
version = "1.0.7";
|
2018-12-13 10:48:18 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:15 +00:00
|
|
|
sha256 = "83b2c2cd58d3874e6e3a784cf4cf2f1a57ce1969e50180f92b010eea24ef26cf";
|
2018-12-13 10:48:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ re2 ];
|
|
|
|
|
2019-02-20 19:32:04 +00:00
|
|
|
# no tests in PyPI tarball
|
|
|
|
doCheck = false;
|
2018-12-13 10:48:18 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python wrapper for Google's RE2";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/facebook/pyre2";
|
2018-12-13 10:48:18 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ ivan ];
|
|
|
|
};
|
|
|
|
}
|