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