1{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestrunner, six, regex}:
2
3buildPythonPackage rec {
4 pname = "rebulk";
5 version = "2.0.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "320ded3cc456347d828f95e9aa5f8bab77ac01943cad024c06012069fe19690a";
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 stdenv.lib; {
18 homepage = "https://github.com/Toilal/rebulk/";
19 license = licenses.mit;
20 description = "Advanced string matching from simple patterns";
21 };
22}