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