nixos/pkgs/plandex_cli.nix

32 lines
697 B
Nix
Raw Normal View History

2024-04-05 16:52:00 +02:00
{
lib,
fetchFromGitHub,
buildGoModule
}:
2024-04-06 20:51:18 +02:00
buildGoModule rec {
2024-04-05 16:52:00 +02:00
pname = "plandex-cli";
2024-04-06 20:51:18 +02:00
version = "v0.8.2";
vendorHash = "sha256-+giOD3sB/SnyccFqoGnC2+DVR9u+MF+mqTFSoEEQqRw=";
2024-04-05 16:52:00 +02:00
src = fetchFromGitHub {
2024-04-06 20:51:18 +02:00
owner = "mrdev023";
2024-04-05 16:52:00 +02:00
repo = "plandex";
2024-04-06 20:51:18 +02:00
rev = "18da990f9cea059015b93e76420d14205a43a876";
hash = "sha256-bHbPN8b3k4K2V5ul17U8O6RjBQdT3xT1I31Pe94Q52c=";
2024-04-05 16:52:00 +02:00
};
2024-04-06 20:51:18 +02:00
2024-04-05 16:52:00 +02:00
modRoot = "app/cli";
2024-04-06 20:51:18 +02:00
ldflags = [
"-s -w -X github.com/${src.owner}/${src.repo}/app/cli/main.version.Version=${version}"
];
2024-04-05 16:52:00 +02:00
meta = with lib; {
description = "An AI coding engine for complex tasks";
homepage = "https://github.com/plandex-ai/plandex";
license = licenses.agpl3Only;
};
2024-04-06 20:51:18 +02:00
}