1{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestrunner, six, regex}: 2 3buildPythonPackage rec { 4 pname = "rebulk"; 5 version = "0.9.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1sw516ihfrb7i9bfl1n3049akvb23mpsk3llh7w3xfnbvkfrpip0"; 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}