Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
746 B
Nix
43 lines
746 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pdm-backend,
|
|
tqdm,
|
|
hypothesis,
|
|
pytest,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "partial-json-parser";
|
|
version = "0.2.1.1.post6";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "partial_json_parser";
|
|
inherit version;
|
|
hash = "sha256-Q4lraJKWeCJMu+SISmpf6SUd7UswuLfX61aeX+6pOvw=";
|
|
};
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|