2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-09-14 21:04:59 +01:00
|
|
|
, 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 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with 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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|