nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 47 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 docutils, 5 fetchFromGitHub, 6 pytestCheckHook, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "python-toolbox"; 12 version = "1.3.1"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "cool-RR"; 17 repo = "python_toolbox"; 18 tag = version; 19 hash = "sha256-pbo4vhypM97OXh6CxK42EbZdrXljvj5rmP9C9RDPo5g="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 nativeCheckInputs = [ 25 docutils 26 pytestCheckHook 27 ]; 28 29 disabledTestPaths = [ 30 # file imports 'dummy_threading', which was deprecated since py37 31 # and removed in py39 32 "test_python_toolbox/test_cute_profile/test_cute_profile.py" 33 ]; 34 35 disabledTests = [ 36 # AssertionError 37 "test_repr" 38 ]; 39 40 meta = { 41 description = "Tools for testing PySnooper"; 42 homepage = "https://github.com/cool-RR/python_toolbox"; 43 changelog = "https://github.com/cool-RR/python_toolbox/releases/tag/${src.tag}"; 44 license = lib.licenses.mit; 45 maintainers = with lib.maintainers; [ seqizz ]; 46 }; 47}