about summary refs log tree commit diff
path: root/pkgs/development/python-modules/flexmock/default.nix
blob: 437868b70c8212195af3d2108115e3d9b45bb7a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, teamcity-messages
, testtools
}:

buildPythonPackage rec {
  pname = "flexmock";
  version = "0.11.3";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-sf419qXzJUe1zTGhXAYNmrhj3Aiv8BjNc9x40bZR7dQ=";
  };

  nativeCheckInputs = [
    pytestCheckHook
    teamcity-messages
    testtools
  ];

  disabledTests = [
    "test_failed_test_case"
  ];

  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; [ ];
  };
}