2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi
|
2020-04-24 23:36:52 +00:00
|
|
|
, mock, pytest
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "PyHamcrest";
|
2020-06-15 15:56:04 +00:00
|
|
|
version = "2.0.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-15 15:56:04 +00:00
|
|
|
sha256 = "412e00137858f04bde0729913874a48485665f2d36fe9ee449f26be864af9316";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ mock pytest ];
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
|
|
|
doCheck = false; # pypi tarball does not include tests
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/hamcrest/PyHamcrest";
|
|
|
|
description = "Hamcrest framework for matcher objects";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
alunduil
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|