1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy27
5, nose
6}:
7
8buildPythonPackage rec {
9 version = "2.0.4";
10 pname = "python-json-logger";
11 disabled = isPy27;
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "sha256-dk12IXX5n8xGML1IU7CWMqy2CmIkrLJ84IzXDwsbgb0=";
16 };
17
18 checkInputs = [ nose ];
19
20 meta = with lib; {
21 homepage = "https://github.com/madzak/python-json-logger";
22 description = "A python library adding a json log formatter";
23 license = licenses.bsdOriginal;
24 maintainers = [ maintainers.costrouc ];
25 };
26
27}