1{ lib
2, buildPythonPackage
3, fetchPypi
4, re2
5}:
6
7buildPythonPackage rec {
8 pname = "fb-re2";
9 version = "1.0.7";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "83b2c2cd58d3874e6e3a784cf4cf2f1a57ce1969e50180f92b010eea24ef26cf";
14 };
15
16 buildInputs = [ re2 ];
17
18 # no tests in PyPI tarball
19 doCheck = false;
20
21 meta = {
22 description = "Python wrapper for Google's RE2";
23 homepage = "https://github.com/facebook/pyre2";
24 license = lib.licenses.bsd3;
25 maintainers = with lib.maintainers; [ ivan ];
26 };
27}