From 7556385f2526ed0f8a235f162955a9e37cc89e19 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sun, 14 Apr 2024 22:26:51 +0200 Subject: [PATCH] Remove plandex from nixos flake --- home/default.nix | 1 - home/programs/plandex.nix | 7 ------- pkgs/plandex_cli.nix | 31 ------------------------------- 3 files changed, 39 deletions(-) delete mode 100644 home/programs/plandex.nix delete mode 100644 pkgs/plandex_cli.nix diff --git a/home/default.nix b/home/default.nix index 1660e04..97825b9 100644 --- a/home/default.nix +++ b/home/default.nix @@ -11,7 +11,6 @@ ./programs/direnv.nix ./programs/chromium.nix ./programs/flatpak.nix - ./programs/plandex.nix ]; home = { diff --git a/home/programs/plandex.nix b/home/programs/plandex.nix deleted file mode 100644 index 9c05ac4..0000000 --- a/home/programs/plandex.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ config, pkgs, ... }: -let - plandex_cli = pkgs.callPackage ../../pkgs/plandex_cli.nix { }; -in -{ - home.packages = [plandex_cli]; -} diff --git a/pkgs/plandex_cli.nix b/pkgs/plandex_cli.nix deleted file mode 100644 index 59eaaec..0000000 --- a/pkgs/plandex_cli.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ - lib, - fetchFromGitHub, - buildGoModule -}: - -buildGoModule rec { - pname = "plandex-cli"; - version = "v0.8.2"; - - vendorHash = "sha256-+giOD3sB/SnyccFqoGnC2+DVR9u+MF+mqTFSoEEQqRw="; - - src = fetchFromGitHub { - owner = "mrdev023"; - repo = "plandex"; - 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; - }; -}