Loading pkgs/development/python-modules/json-repair/default.nix 0 → 100644 +35 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, }: buildPythonPackage rec { pname = "json-repair"; version = "0.27.0"; pyproject = true; src = fetchFromGitHub { owner = "mangiucugna"; repo = "json_repair"; rev = "refs/tags/${version}"; hash = "sha256-kaTwdS2zRt94pJko9AKEvszLR4z62u3ZrKlfXkJr5TQ="; }; build-system = [ setuptools ]; nativeBuildInputs = [ pytestCheckHook ]; disabledTestPaths = [ "tests/test_performance.py" ]; pythonImportsCheck = [ "json_repair" ]; meta = with lib; { homepage = "https://github.com/mangiucugna/json_repair/"; description = "repair invalid JSON, commonly used to parse the output of LLMs"; license = licenses.mit; maintainers = with maintainers; [ greg ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -6353,6 +6353,8 @@ self: super: with self; { json-merge-patch = callPackage ../development/python-modules/json-merge-patch { }; json-repair = callPackage ../development/python-modules/json-repair { }; json-schema-for-humans = callPackage ../development/python-modules/json-schema-for-humans { }; json-stream = callPackage ../development/python-modules/json-stream { }; Loading Loading
pkgs/development/python-modules/json-repair/default.nix 0 → 100644 +35 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, }: buildPythonPackage rec { pname = "json-repair"; version = "0.27.0"; pyproject = true; src = fetchFromGitHub { owner = "mangiucugna"; repo = "json_repair"; rev = "refs/tags/${version}"; hash = "sha256-kaTwdS2zRt94pJko9AKEvszLR4z62u3ZrKlfXkJr5TQ="; }; build-system = [ setuptools ]; nativeBuildInputs = [ pytestCheckHook ]; disabledTestPaths = [ "tests/test_performance.py" ]; pythonImportsCheck = [ "json_repair" ]; meta = with lib; { homepage = "https://github.com/mangiucugna/json_repair/"; description = "repair invalid JSON, commonly used to parse the output of LLMs"; license = licenses.mit; maintainers = with maintainers; [ greg ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -6353,6 +6353,8 @@ self: super: with self; { json-merge-patch = callPackage ../development/python-modules/json-merge-patch { }; json-repair = callPackage ../development/python-modules/json-repair { }; json-schema-for-humans = callPackage ../development/python-modules/json-schema-for-humans { }; json-stream = callPackage ../development/python-modules/json-stream { }; Loading