2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
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; {
|
2024-07-27 06:49:29 +00:00
|
|
|
description = "Stream JSON parser for Python";
|
2024-04-21 15:54:59 +00:00
|
|
|
homepage = "https://github.com/AMDmi3/jsonslicer";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jopejoe1 ];
|
|
|
|
};
|
|
|
|
}
|