2018-11-24 13:32:43 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flexmock";
|
2019-01-17 00:10:06 +00:00
|
|
|
version = "0.10.3";
|
2018-11-24 13:32:43 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-17 00:10:06 +00:00
|
|
|
sha256 = "031c624pdqm7cc0xh4yz5k69gqxn2bbrjz13s17684q5shn0ik21";
|
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.";
|
|
|
|
homepage = http://flexmock.readthedocs.org;
|
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
};
|
|
|
|
}
|