at master 760 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 pythonOlder, 7 poetry-core, 8 teamcity-messages, 9 testtools, 10}: 11 12buildPythonPackage rec { 13 pname = "flexmock"; 14 version = "0.12.2"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.6"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-Q1xmHDs1R3V165FQQooc/Xxiy5kqp4h1Z8M1euvJrKE="; 22 }; 23 24 build-system = [ poetry-core ]; 25 26 nativeCheckInputs = [ 27 pytestCheckHook 28 teamcity-messages 29 testtools 30 ]; 31 32 pythonImportsCheck = [ "flexmock" ]; 33 34 meta = with lib; { 35 description = "Testing library that makes it easy to create mocks,stubs and fakes"; 36 homepage = "https://flexmock.readthedocs.org"; 37 license = licenses.bsdOriginal; 38 maintainers = [ ]; 39 }; 40}