2018-11-24 14:32:43 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flexmock";
|
2021-10-09 00:23:01 +02:00
|
|
|
version = "0.10.10";
|
2018-11-24 14:32:43 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-09 00:23:01 +02:00
|
|
|
sha256 = "8bb073f4b7b590672e8c312e73d6a14f88ae624a867b691462f9e8c24b9f19d1";
|
2018-11-24 14:32:43 +01: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-03-31 21:11:51 -04:00
|
|
|
homepage = "https://flexmock.readthedocs.org";
|
2018-11-24 14:32:43 +01:00
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
};
|
2020-03-31 21:11:51 -04:00
|
|
|
}
|