2018-11-24 13:32:43 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-01-22 00:36:43 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, teamcity-messages
|
|
|
|
, testtools
|
2018-11-24 13:32:43 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flexmock";
|
2022-02-11 09:23:14 +00:00
|
|
|
version = "0.11.3";
|
2022-01-22 00:36:43 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2018-11-24 13:32:43 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-02-11 09:23:14 +00:00
|
|
|
hash = "sha256-sf419qXzJUe1zTGhXAYNmrhj3Aiv8BjNc9x40bZR7dQ=";
|
2018-11-24 13:32:43 +00:00
|
|
|
};
|
|
|
|
|
2022-01-22 00:36:43 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
teamcity-messages
|
|
|
|
testtools
|
|
|
|
];
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
"test_failed_test_case"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"flexmock"
|
|
|
|
];
|
2018-11-24 13:32:43 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2022-01-22 00:36:43 +00:00
|
|
|
description = "Testing library that makes it easy to create mocks,stubs and fakes";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://flexmock.readthedocs.org";
|
2018-11-24 13:32:43 +00:00
|
|
|
license = licenses.bsdOriginal;
|
2022-01-22 00:36:43 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-11-24 13:32:43 +00:00
|
|
|
};
|
2020-04-01 02:11:51 +01:00
|
|
|
}
|