blob: a7a04c1f605dd96e24627f21e1f97cd7bb760ffc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "colorlog";
version = "4.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "066i7904vc7814gqnlprksf0ikz2dmviw93r2mr7sf53qci5irbm";
};
checkInputs = [ pytest ];
checkPhase = ''
py.test -p no:logging
'';
meta = with stdenv.lib; {
description = "Log formatting with colors";
homepage = "https://github.com/borntyping/python-colorlog";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}
|