1{ stdenv, buildPythonApplication, fetchPypi 2, mock, pytest 3, six 4}: 5buildPythonApplication rec { 6 pname = "PyHamcrest"; 7 version = "1.9.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd"; 12 }; 13 14 checkInputs = [ mock pytest ]; 15 propagatedBuildInputs = [ six ]; 16 17 doCheck = false; # pypi tarball does not include tests 18 19 meta = with stdenv.lib; { 20 homepage = https://github.com/hamcrest/PyHamcrest; 21 description = "Hamcrest framework for matcher objects"; 22 license = licenses.bsd3; 23 maintainers = with maintainers; [ 24 alunduil 25 ]; 26 }; 27}