blob: 65eacb5001d45dcca2c91e3f7a5fef7fb316275f (
plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
pytestCheckHook,
unittestCheckHook,
setuptools,
pkg-config,
yajl,
}:
buildPythonPackage rec {
pname = "jsonslicer";
version = "0.1.8";
pyproject = true;
src = fetchFromGitHub {
owner = "AMDmi3";
repo = "jsonslicer";
tag = version;
hash = "sha256-nPifyqr+MaFqoCYFbFSSBDjvifpX0CFnHCdMCvhwYTA=";
};
build-system = [
setuptools
pkg-config
];
buildInputs = [ yajl ];
nativeCheckInputs = [
pytestCheckHook
unittestCheckHook
];
pythonImportsCheck = [ "jsonslicer" ];
passthru.updateScript = gitUpdater { };
meta = {
description = "Stream JSON parser for Python";
homepage = "https://github.com/AMDmi3/jsonslicer";
changelog = "https://github.com/AMDmi3/jsonslicer/blob/${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jopejoe1 ];
};
}
|