nixpkgs/pkgs/development/python-modules/python-json-logger/default.nix
2021-01-25 18:31:47 +01:00

27 lines
558 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, nose
}:
buildPythonPackage rec {
version = "2.0.1";
pname = "python-json-logger";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "f26eea7898db40609563bed0a7ca11af12e2a79858632706d835a0f961b7d398";
};
checkInputs = [ nose ];
meta = with lib; {
homepage = "https://github.com/madzak/python-json-logger";
description = "A python library adding a json log formatter";
license = licenses.bsdOriginal;
maintainers = [ maintainers.costrouc ];
};
}