blob: 22296b65fabcc8fd227c90d103e15f5136ec0228 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
pdm-backend,
tqdm,
hypothesis,
pytest,
}:
buildPythonPackage rec {
pname = "partial-json-parser";
version = "0.2.1.1.post7";
pyproject = true;
src = fetchPypi {
pname = "partial_json_parser";
inherit version;
hash = "sha256-hlkOG6a8tnOaLfwX0jI/Aoy1iE9MbOI9s3aZkTLJqSI=";
};
build-system = [ pdm-backend ];
dependencies = [ ];
doCheck = true;
pythonImportsCheck = [ "partial_json_parser" ];
dev-dependencies = [
hypothesis
tqdm
pytest
];
meta = {
description = "Parse partial JSON generated by LLM";
homepage = "https://github.com/promplate/partial-json-parser";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|