Unverified Commit 7ee9eb31 authored by Pavol Rusnak's avatar Pavol Rusnak
Browse files

python3Packages.partial-json-parser: init at 0.2.1.1.post5

parent bce8e5a9
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pdm-backend,
  tqdm,
  hypothesis,
  pytest,
}:

buildPythonPackage rec {
  pname = "partial-json-parser";
  version = "0.2.1.1.post5";
  pyproject = true;

  src = fetchPypi {
    pname = "partial_json_parser";
    inherit version;
    hash = "sha256-mScQrGfpCzZ5IdUnJ2mJKAQPdxO6fsszuWNx6nrsgso=";
  };

  build-system = [ pdm-backend ];

  dependencies = [ ];

  doCheck = true;

  pythonImportsCheck = [ "partial_json_parser" ];

  dev-dependencies = [
    hypothesis
    tqdm
    pytest
  ];

  meta = with lib; {
    description = "Parse partial JSON generated by LLM";
    homepage = "https://github.com/promplate/partial-json-parser";
    license = licenses.mit;
    maintainers = [ ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -10092,6 +10092,8 @@ self: super: with self; {
  partd = callPackage ../development/python-modules/partd { };
  partial-json-parser = callPackage ../development/python-modules/partial-json-parser { };
  parts = callPackage ../development/python-modules/parts { };
  particle = callPackage ../development/python-modules/particle { };