1{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, six, regex}:
2
3buildPythonPackage rec {
4 pname = "rebulk";
5 version = "3.0.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "025d191c11abf9174c6aff0006579624047d3371a654333c4bf7a4b421552cdc";
10 };
11
12 # Some kind of trickery with imports that doesn't work.
13 doCheck = false;
14 buildInputs = [ pytest pytestrunner ];
15 propagatedBuildInputs = [ six regex ];
16
17 meta = with lib; {
18 homepage = "https://github.com/Toilal/rebulk/";
19 license = licenses.mit;
20 description = "Advanced string matching from simple patterns";
21 };
22}