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