px0: init at 0.1.4

Package `px0`, a fast, ultra-light, remote-first IDE for instant
code navigation and review in the browser. Built from source using
`buildGoModule`; pure Go with no CGO or external dependencies.

Signed-off-by: Leonard Sheng Sheng Lee <305414+sheeeng@users.noreply.github.com>
This commit is contained in:
Leonard Sheng Sheng Lee
2026-09-17 09:32:55 +02:00
parent b1b875982b
commit 34e29fbe99

View File

@@ -0,0 +1,45 @@
{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "px0";
version = "0.1.4";
src = fetchFromGitHub {
owner = "px0-ai";
repo = "px0";
tag = "v${finalAttrs.version}";
hash = "sha256-1r000izgL1EFsBpIkyb8u6+RVhV58qHf+AshSYtINmY=";
};
__structuredAttrs = true;
strictDeps = true;
vendorHash = "sha256-71+6I0u3en/Aw3PVMXx6dF+NQtCiE1T+kd7MENCKnlk=";
checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [
"-skip"
"TestListenPortFallback|TestTelemetrySessionLifecycle"
];
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "-version";
passthru.updateScript = nix-update-script { };
meta = {
description = "Fast, ultra-light, remote-first IDE for code navigation and review in your browser";
homepage = "https://github.com/px0-ai/px0";
changelog = "https://github.com/px0-ai/px0/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sheeeng ];
mainProgram = "px0";
};
})