Files
nixpkgs/pkgs/development/python-modules/llm-jq/default.nix
Philip Taron 42fa505cf7 python3Packages.llm-*: use llm in the dependencies
There's no circular dependency problems anymore.
2025-05-31 20:52:40 -07:00

37 lines
776 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; [ josh ];
};
}