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