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

This commit is contained in:
Pavol Rusnak 2025-02-02 11:57:34 +01:00
parent bce8e5a90c
commit 7ee9eb310e
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{
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 = [ ];
};
}

View file

@ -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 { };