about summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-json-logger/default.nix
blob: 33b4140181823f48badcb61203b0f3b6b2890b66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, nose
}:

buildPythonPackage rec {
  version = "2.0.4";
  pname = "python-json-logger";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-dk12IXX5n8xGML1IU7CWMqy2CmIkrLJ84IzXDwsbgb0=";
  };

  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 ];
  };

}