1{ lib, buildPythonPackage, fetchFromGitHub, pytest, mock }: 2 3buildPythonPackage rec { 4 pname = "verboselogs"; 5 version = "1.7"; 6 7 src = fetchFromGitHub { 8 owner = "xolox"; 9 repo = "python-verboselogs"; 10 rev = version; 11 sha256 = "10jzm8pkl49as4y2zyiidmfqqj5zmqg3p73jvx4lfxi0gmp1vhl5"; 12 }; 13 14 # do not run pylint plugin test, as astroid is a old unsupported version 15 checkPhase = '' 16 PATH=$PATH:$out/bin pytest . -k "not test_pylint_plugin" 17 ''; 18 checkInputs = [ pytest mock ]; 19 20 meta = with lib; { 21 description = "Verbose logging for Python's logging module"; 22 homepage = "https://github.com/xolox/python-verboselogs"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ eyjhb ]; 25 }; 26}