mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
plandex-server: init at 1.1.1
This commit is contained in:
parent
7bc9b3b504
commit
081d6924b1
1 changed files with 40 additions and 0 deletions
40
pkgs/by-name/pl/plandex-server/package.nix
Normal file
40
pkgs/by-name/pl/plandex-server/package.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
git,
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "plandex-server";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "plandex-ai";
|
||||
repo = "plandex";
|
||||
rev = "server/v${version}";
|
||||
hash = "sha256-RVvgnQtb/asOjVpSZ3WndimsJ6foERMWS/YD20sghVE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace db/db.go \
|
||||
--replace-fail "file://migrations" "file://$out/migrations"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
cp -r migrations $out/migrations
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [ git ];
|
||||
|
||||
sourceRoot = "${src.name}/app/server";
|
||||
|
||||
vendorHash = "sha256-uarTWteOoAjzEHSnbZo+fEPELerpuL7UNA5pdGP5CMY=";
|
||||
|
||||
meta = {
|
||||
mainProgram = "plandex-server";
|
||||
description = "AI driven development in your terminal. Designed for large, real-world tasks. The server part";
|
||||
homepage = "https://plandex.ai/";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = with lib.maintainers; [ viraptor ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue