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
41 lines
818 B
Nix
41 lines
818 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
llm,
|
|
llm-jq,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "llm-jq";
|
|
version = "0.1.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "simonw";
|
|
repo = "llm-jq";
|
|
tag = version;
|
|
hash = "sha256-Mf/tbB9+UdmSRpulqv5Wagr8wjDcRrNs2741DNQZhO4=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ llm ];
|
|
|
|
pythonImportsCheck = [ "llm_jq" ];
|
|
|
|
passthru.tests = llm.mkPluginTest llm-jq;
|
|
|
|
meta = {
|
|
description = "Write and execute jq programs with the help of LLM";
|
|
homepage = "https://github.com/simonw/llm-jq";
|
|
changelog = "https://github.com/simonw/llm-jq/releases/tag/${version}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [
|
|
erethon
|
|
josh
|
|
philiptaron
|
|
];
|
|
};
|
|
}
|