Fix plandex pkgs

This commit is contained in:
Florian RICHER 2024-04-06 20:51:18 +02:00
parent a91480e10c
commit 8c47e12df1
2 changed files with 16 additions and 10 deletions

View file

@ -10,7 +10,7 @@
./programs/direnv.nix
./programs/chromium.nix
./programs/flatpak.nix
# ./programs/plandex.nix
./programs/plandex.nix
];
home = {

View file

@ -4,22 +4,28 @@
buildGoModule
}:
buildGoModule {
buildGoModule rec {
pname = "plandex-cli";
version = "v0.8.1";
vendorHash = lib.fakeHash;
version = "v0.8.2";
vendorHash = "sha256-+giOD3sB/SnyccFqoGnC2+DVR9u+MF+mqTFSoEEQqRw=";
src = fetchFromGitHub {
owner = "plandex-ai";
owner = "mrdev023";
repo = "plandex";
rev = "cli/v0.8.1";
hash = "sha256-+1EETcqjvyi9W+y6nhcEFbc2bv2EjFEBxoxMrWPz7Ro=";
rev = "18da990f9cea059015b93e76420d14205a43a876";
hash = "sha256-bHbPN8b3k4K2V5ul17U8O6RjBQdT3xT1I31Pe94Q52c=";
};
modRoot = "app/cli";
ldflags = [
"-s -w -X github.com/${src.owner}/${src.repo}/app/cli/main.version.Version=${version}"
];
meta = with lib; {
description = "An AI coding engine for complex tasks";
homepage = "https://github.com/plandex-ai/plandex";
license = licenses.agpl3Only;
};
}
}