1{ lib, buildPythonPackage, fetchPypi, pytest }: 2 3buildPythonPackage rec { 4 pname = "logzero"; 5 version = "1.7.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "7f73ddd3ae393457236f081ffebd044a3aa2e423a47ae6ddb5179ab90d0ad082"; 10 }; 11 12 checkInputs = [ pytest ]; 13 checkPhase = '' 14 pytest 15 ''; 16 17 meta = with lib; { 18 homepage = "https://github.com/metachris/logzero"; 19 description = "Robust and effective logging for Python 2 and 3"; 20 license = licenses.mit; 21 maintainers = with maintainers; [ jakewaksbaum ]; 22 }; 23}