1{ lib, buildPythonPackage, fetchPypi, pytest, pytest-runner, six, regex}:
2
3buildPythonPackage rec {
4 pname = "rebulk";
5 version = "3.1.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "809de3a97c68afa831f7101b10d316fe62e061dc9f7f67a44b7738128721173a";
10 };
11
12 # Some kind of trickery with imports that doesn't work.
13 doCheck = false;
14 buildInputs = [ pytest pytest-runner ];
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}