ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / python-toolbox / default.nix
bloba310736c749232a8b4c0fc289a2020414080e214
1 { lib
2 , buildPythonPackage
3 , docutils
4 , fetchFromGitHub
5 , isPy27
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   version = "1.0.10";
11   pname = "python_toolbox";
12   disabled = isPy27;
14   src = fetchFromGitHub {
15     owner = "cool-RR";
16     repo = pname;
17     rev = version;
18     sha256 = "1hpls1hwisdjx1g15cq052bdn9fvh43r120llws8bvgvj9ivnaha";
19   };
21   checkInputs = [
22     docutils
23     pytestCheckHook
24   ];
26   disabledTestPaths = [
27     # file imports 'dummy_threading', which was deprecated since py37
28     # and removed in py39
29     "test_python_toolbox/test_cute_profile/test_cute_profile.py"
30   ];
32   meta = with lib; {
33     description = "Tools for testing PySnooper";
34     homepage = "https://github.com/cool-RR/python_toolbox";
35     license = licenses.mit;
36     maintainers = with maintainers; [ seqizz ];
37   };