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/direnv.nix
./programs/chromium.nix ./programs/chromium.nix
./programs/flatpak.nix ./programs/flatpak.nix
# ./programs/plandex.nix ./programs/plandex.nix
]; ];
home = { home = {

View file

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