depot/third_party/nixpkgs/pkgs/development/python-modules/python-json-logger/default.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

27 lines
558 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, nose
}:
buildPythonPackage rec {
version = "2.0.2";
pname = "python-json-logger";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "202a4f29901a4b8002a6d1b958407eeb2dd1d83c18b18b816f5b64476dde9096";
};
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 ];
};
}