2018-11-24 13:32:43 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flexmock";
|
2019-04-02 12:53:55 +00:00
|
|
|
version = "0.10.4";
|
2018-11-24 13:32:43 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-02 12:53:55 +00:00
|
|
|
sha256 = "0b6qw3grhgx58kxlkj7mdma7xdvlj02zabvcf7w2qifnfjwwwcsh";
|
2018-11-24 13:32:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "flexmock is a testing library for Python that makes it easy to create mocks,stubs and fakes.";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://flexmock.readthedocs.org";
|
2018-11-24 13:32:43 +00:00
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
};
|
2020-04-01 01:11:51 +00:00
|
|
|
}
|