nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 64e5b9cb05905e33b6aac0febb99980cf56f53bc
parent 3a0b6db2ff8561204c994a48dac1ee0399d679e7
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Tue, 19 May 2026 13:08:40 +0400

Add ralphex

Diffstat:
Apkgs/by-name/ra/ralphex/package.nix | 49+++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+), 0 deletions(-)

diff --git a/pkgs/by-name/ra/ralphex/package.nix b/pkgs/by-name/ra/ralphex/package.nix @@ -0,0 +1,49 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, + git, + installShellFiles, + writableTmpDirAsHomeHook, +}: + +buildGoModule (finalAttrs: { + pname = "ralphex"; + version = "1.2.0"; + + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "umputun"; + repo = "ralphex"; + tag = "v${finalAttrs.version}"; + hash = "sha256-bL1RFGL7+ceDgDOgKw1pBZGKjtj1WrtxAoFRuByuUS4="; + }; + + vendorHash = null; + + ldflags = [ + "-s" + "-w" + "-X main.revision=${finalAttrs.version}" + ]; + + nativeBuildInputs = [ installShellFiles ]; + + nativeCheckInputs = [ + git + writableTmpDirAsHomeHook + ]; + + postInstall = '' + installShellCompletion completions/* + ''; + + meta = { + description = "Extended Ralph loop for autonomous AI-driven plan execution"; + homepage = "https://ralphex.com/"; + license = lib.licenses.mit; + mainProgram = "ralphex"; + maintainers = [ lib.maintainers.sikmir ]; + }; +})