Begin add Plandex Pkgs
This commit is contained in:
parent
ac0932aec7
commit
a91480e10c
3 changed files with 33 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
||||||
./programs/direnv.nix
|
./programs/direnv.nix
|
||||||
./programs/chromium.nix
|
./programs/chromium.nix
|
||||||
./programs/flatpak.nix
|
./programs/flatpak.nix
|
||||||
|
# ./programs/plandex.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
|
7
home/programs/plandex.nix
Normal file
7
home/programs/plandex.nix
Normal 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
25
pkgs/plandex_cli.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue