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