1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/python-json-logger/default.nix

28 lines
568 B
Nix
Raw Normal View History

{ stdenv
, 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 stdenv.lib; {
homepage = "https://github.com/madzak/python-json-logger";
description = "A python library adding a json log formatter";
license = licenses.bsdOriginal;
maintainers = [ maintainers.costrouc ];
};
}