1{ lib 2, asttokens 3, buildPythonPackage 4, executing 5, fetchFromGitHub 6, pygments 7, pytest-mock 8, pytestCheckHook 9, pythonOlder 10}: 11 12buildPythonPackage rec { 13 pname = "devtools"; 14 version = "0.8.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.6"; 18 19 src = fetchFromGitHub { 20 owner = "samuelcolvin"; 21 repo = "python-${pname}"; 22 rev = "v${version}"; 23 sha256 = "0yavcbxzxi1nfa1k326gsl03y8sadi5z5acamwd8b1bsiv15p757"; 24 }; 25 26 propagatedBuildInputs = [ 27 asttokens 28 executing 29 pygments 30 ]; 31 32 checkInputs = [ 33 pytestCheckHook 34 pytest-mock 35 ]; 36 37 disabledTests = [ 38 # Test for Windows32 39 "test_print_subprocess" 40 ]; 41 42 pythonImportsCheck = [ 43 "devtools" 44 ]; 45 46 meta = with lib; { 47 description = "Python's missing debug print command and other development tools"; 48 homepage = "https://python-devtools.helpmanual.io/"; 49 license = licenses.mit; 50 maintainers = with maintainers; [ jdahm ]; 51 }; 52}