587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
43 lines
780 B
Nix
43 lines
780 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, poetry-core
|
|
, teamcity-messages
|
|
, testtools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flexmock";
|
|
version = "0.12.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-YdBvPRRCuBW3qoWh9HvoONBW9fXRTO/teuv7A0c9FKs=";
|
|
};
|
|
|
|
build-system = [
|
|
poetry-core
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
teamcity-messages
|
|
testtools
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"flexmock"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Testing library that makes it easy to create mocks,stubs and fakes";
|
|
homepage = "https://flexmock.readthedocs.org";
|
|
license = licenses.bsdOriginal;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|