Begin add Plandex Pkgs

This commit is contained in:
Florian RICHER 2024-04-05 16:52:00 +02:00
parent ac0932aec7
commit a91480e10c
3 changed files with 33 additions and 0 deletions

View file

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

View file

@ -0,0 +1,7 @@
{ config, pkgs, ... }:
let
plandex_cli = pkgs.callPackage ../../pkgs/plandex_cli.nix { };
in
{
home.packages = [plandex_cli];
}

25
pkgs/plandex_cli.nix Normal file
View file

@ -0,0 +1,25 @@
{
lib,
fetchFromGitHub,
buildGoModule
}:
buildGoModule {
pname = "plandex-cli";
version = "v0.8.1";
vendorHash = lib.fakeHash;
src = fetchFromGitHub {
owner = "plandex-ai";
repo = "plandex";
rev = "cli/v0.8.1";
hash = "sha256-+1EETcqjvyi9W+y6nhcEFbc2bv2EjFEBxoxMrWPz7Ro=";
};
modRoot = "app/cli";
meta = with lib; {
description = "An AI coding engine for complex tasks";
homepage = "https://github.com/plandex-ai/plandex";
license = licenses.agpl3Only;
};
}