evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / python-toolbox / default.nix
blob230ff86d7fc085a036753975e7ea7f6634146720
2   lib,
3   buildPythonPackage,
4   docutils,
5   fetchFromGitHub,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "python-toolbox";
13   version = "1.0.11";
14   pyproject = true;
16   disabled = pythonOlder "3.9";
18   src = fetchFromGitHub {
19     owner = "cool-RR";
20     repo = "python_toolbox";
21     rev = "refs/tags/${version}";
22     hash = "sha256-Y9RmVndgsBESrUCEORUwAdaFYBiunY3kWArhB9d7bw4=";
23   };
25   build-system = [ setuptools ];
27   nativeCheckInputs = [
28     docutils
29     pytestCheckHook
30   ];
32   disabledTestPaths = [
33     # file imports 'dummy_threading', which was deprecated since py37
34     # and removed in py39
35     "test_python_toolbox/test_cute_profile/test_cute_profile.py"
36   ];
38   disabledTests = [
39     # AssertionError
40     "test_repr"
41   ];
43   meta = with lib; {
44     description = "Tools for testing PySnooper";
45     homepage = "https://github.com/cool-RR/python_toolbox";
46     changelog = "https://github.com/cool-RR/python_toolbox/releases/tag/${version}";
47     license = licenses.mit;
48     maintainers = with maintainers; [ seqizz ];
49   };