about summary refs log tree commit diff
path: root/pkgs/development/python-modules/jsonslicer/default.nix
blob: 4cc5e559aca8a6600b5875c85ee3bce7eaf4f395 (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
28
29
30
31
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pkg-config,
  yajl,
}:

buildPythonPackage rec {
  pname = "jsonslicer";
  version = "0.1.7";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "AMDmi3";
    repo = "jsonslicer";
    rev = version;
    hash = "sha256-uKIe/nJLCTe8WFIMB7+g3c0Yv3addgZEKYaBI6EpBSY=";
  };

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [ yajl ];

  meta = with lib; {
    description = "Stream JSON parser for Python ";
    homepage = "https://github.com/AMDmi3/jsonslicer";
    license = licenses.mit;
    maintainers = with maintainers; [ jopejoe1 ];
  };
}