2019-04-29 08:43:47 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2017-08-24 03:43:08 +01:00
|
|
|
, mock, pytest
|
|
|
|
, six
|
|
|
|
}:
|
2019-04-29 08:43:47 +01:00
|
|
|
buildPythonPackage rec {
|
2017-08-24 03:43:08 +01:00
|
|
|
pname = "PyHamcrest";
|
2020-06-06 07:47:24 +01:00
|
|
|
version = "2.0.2";
|
2017-08-24 03:43:08 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:24 +01:00
|
|
|
sha256 = "412e00137858f04bde0729913874a48485665f2d36fe9ee449f26be864af9316";
|
2017-08-24 03:43:08 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ mock pytest ];
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
|
|
|
doCheck = false; # pypi tarball does not include tests
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/hamcrest/PyHamcrest";
|
2017-08-24 03:43:08 +01:00
|
|
|
description = "Hamcrest framework for matcher objects";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
alunduil
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|