Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / flexmock / default.nix
blob437868b70c8212195af3d2108115e3d9b45bb7a6
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytestCheckHook
5 , pythonOlder
6 , teamcity-messages
7 , testtools
8 }:
10 buildPythonPackage rec {
11   pname = "flexmock";
12   version = "0.11.3";
13   format = "setuptools";
15   disabled = pythonOlder "3.6";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-sf419qXzJUe1zTGhXAYNmrhj3Aiv8BjNc9x40bZR7dQ=";
20   };
22   nativeCheckInputs = [
23     pytestCheckHook
24     teamcity-messages
25     testtools
26   ];
28   disabledTests = [
29     "test_failed_test_case"
30   ];
32   pythonImportsCheck = [
33     "flexmock"
34   ];
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   };