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