about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ijson/default.nix
blob: 3211aed644e082d482ef2608674bc0d9613a73f5 (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
{ lib, buildPythonPackage, fetchPypi, yajl, cffi, pytestCheckHook }:

buildPythonPackage rec {
  pname = "ijson";
  version = "3.1.4";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea";
  };

  buildInputs = [ yajl ];
  propagatedBuildInputs = [ cffi ];
  checkInputs = [ pytestCheckHook ];

  doCheck = true;

  meta = with lib; {
    description = "Iterative JSON parser with a standard Python iterator interface";
    homepage = "https://github.com/ICRAR/ijson";
    license = licenses.bsd3;
    maintainers = with maintainers; [ rvl ];
  };
}