9 buildPythonPackage rec {
10 pname = "json-repair";
14 src = fetchFromGitHub {
15 owner = "mangiucugna";
18 hash = "sha256-39MxXX3bBYLmpaUpNYLWq+8Huoy0zQSyURQiZvXFaZc=";
21 build-system = [ setuptools ];
23 nativeCheckInputs = [ pytestCheckHook ];
26 "tests/test_performance.py"
27 "tests/test_coverage.py"
30 pythonImportsCheck = [ "json_repair" ];
33 description = "Module to repair invalid JSON, commonly used to parse the output of LLMs";
34 homepage = "https://github.com/mangiucugna/json_repair/";
35 changelog = "https://github.com/mangiucugna/json_repair/releases/tag/${version}";
36 license = licenses.mit;
37 maintainers = with maintainers; [ greg ];