1{ lib, buildPythonPackage, fetchPypi, pytest }:
2
3buildPythonPackage rec {
4 pname = "logzero";
5 version = "1.5.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0hli2wgwxxackrk1ybmlpdd0rzms6blm11zzwlvrzykd8cp1xyil";
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}