2018-09-14 21:04:59 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-10-16 18:26:43 +01:00
|
|
|
, isPy27
|
2018-09-14 21:04:59 +01:00
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-10-16 17:04:58 +01:00
|
|
|
version = "2.0.1";
|
2018-09-14 21:04:59 +01:00
|
|
|
pname = "python-json-logger";
|
2020-10-16 18:26:43 +01:00
|
|
|
disabled = isPy27;
|
2018-09-14 21:04:59 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-16 17:04:58 +01:00
|
|
|
sha256 = "f26eea7898db40609563bed0a7ca11af12e2a79858632706d835a0f961b7d398";
|
2018-09-14 21:04:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/madzak/python-json-logger";
|
2018-09-14 21:04:59 +01:00
|
|
|
description = "A python library adding a json log formatter";
|
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|