diff --git a/pkgs/by-name/pl/plandex/package.nix b/pkgs/by-name/pl/plandex/package.nix index e0652aa8470f..5d5af6f5e1a0 100644 --- a/pkgs/by-name/pl/plandex/package.nix +++ b/pkgs/by-name/pl/plandex/package.nix @@ -5,22 +5,26 @@ }: buildGoModule rec { pname = "plandex"; - version = "1.1.1"; + version = "2.1.2"; src = fetchFromGitHub { owner = "plandex-ai"; repo = "plandex"; rev = "cli/v${version}"; - hash = "sha256-q3DBkYmZxgrdlEUdGgFCf5IR17lKmYp7U5BD/4GXxjo="; + hash = "sha256-mNNL1K+gNhYDuKpGt3FP/L4JxO/bHyebhABOpFjLLLI="; }; + ldflags = [ + "-X plandex-cli/version.Version=${version}" + ]; + sourceRoot = "${src.name}/app/cli"; - vendorHash = "sha256-aFfgXGRnsqS7Ik5geQ6yXL+8X0BfNhHGzF7GKIDC4iE="; + vendorHash = "sha256-0wYlCxg0CPPizdhJ1VfZEEcauy2rJeeTqPiiqsExBu8="; meta = { mainProgram = "plandex"; - description = "AI driven development in your terminal. Designed for large, real-world tasks. The sli part"; + description = "AI driven development in your terminal. Designed for large, real-world tasks. The cli part"; homepage = "https://plandex.ai/"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ viraptor ];