stripe-cli: 1.23.3 -> 1.23.5 (#375724)
[NixPkgs.git] / pkgs / development / python-modules / json-repair / default.nix
blob481abb883c8627ef8dab4e1e8a33a0e5357ef3c0
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "json-repair";
11   version = "0.35.0";
12   pyproject = true;
14   src = fetchFromGitHub {
15     owner = "mangiucugna";
16     repo = "json_repair";
17     tag = "v${version}";
18     hash = "sha256-39MxXX3bBYLmpaUpNYLWq+8Huoy0zQSyURQiZvXFaZc=";
19   };
21   build-system = [ setuptools ];
23   nativeCheckInputs = [ pytestCheckHook ];
25   disabledTestPaths = [
26     "tests/test_performance.py"
27     "tests/test_coverage.py"
28   ];
30   pythonImportsCheck = [ "json_repair" ];
32   meta = with lib; {
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 ];
38   };