chore: update n8n, openwork, vibetyper
This commit is contained in:
@@ -1,74 +0,0 @@
|
|||||||
{
|
|
||||||
appimageTools,
|
|
||||||
fetchurl,
|
|
||||||
lib,
|
|
||||||
nodejs,
|
|
||||||
uv,
|
|
||||||
python3,
|
|
||||||
nix-update-script,
|
|
||||||
}: let
|
|
||||||
pname = "eigent";
|
|
||||||
version = "0.0.91";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://github.com/eigent-ai/eigent/releases/download/v${version}/Eigent-${version}.AppImage";
|
|
||||||
hash = "sha256-er38J8WxfPdI9OsqoWr/mZ5iyvEGtjfJeL05pDzUXg8=";
|
|
||||||
};
|
|
||||||
appimageContents = appimageTools.extractType2 {inherit pname version src;};
|
|
||||||
in
|
|
||||||
appimageTools.wrapType2 {
|
|
||||||
inherit pname version src;
|
|
||||||
|
|
||||||
extraPkgs = _: [
|
|
||||||
nodejs
|
|
||||||
uv
|
|
||||||
python3
|
|
||||||
];
|
|
||||||
|
|
||||||
# Runs before bubblewrap launches — sets up writable state for the sandbox.
|
|
||||||
extraPreBwrapCmds = ''
|
|
||||||
# eigent writes to multiple dirs under resources/ at runtime:
|
|
||||||
# prebuilt/ → pyvenv.cfg, .terminal_venv_fixed sentinel
|
|
||||||
# backend/ → creates runtime/ dir for temporary state
|
|
||||||
# Nix store is read-only → EROFS. Copy to writable location on first
|
|
||||||
# launch (or when the package version changes).
|
|
||||||
DATA_DIR="$HOME/.local/share/${pname}"
|
|
||||||
mkdir -p "$DATA_DIR"
|
|
||||||
for subdir in prebuilt backend; do
|
|
||||||
SRC="${appimageContents}/resources/$subdir"
|
|
||||||
DST="$DATA_DIR/$subdir"
|
|
||||||
if [ ! -f "$DST/.nix-src" ] || [ "$(cat "$DST/.nix-src")" != "${appimageContents}" ]; then
|
|
||||||
rm -rf "$DST"
|
|
||||||
cp -r "$SRC" "$DST"
|
|
||||||
chmod -R u+w "$DST"
|
|
||||||
echo "${appimageContents}" > "$DST/.nix-src"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Bind-mount writable copies over the read-only store paths so the app
|
|
||||||
# sees its files at the expected locations but can write to them.
|
|
||||||
extraBwrapArgs = [
|
|
||||||
"--bind $HOME/.local/share/${pname}/prebuilt ${appimageContents}/resources/prebuilt"
|
|
||||||
"--bind $HOME/.local/share/${pname}/backend ${appimageContents}/resources/backend"
|
|
||||||
];
|
|
||||||
|
|
||||||
extraInstallCommands = ''
|
|
||||||
install -m 444 -D ${appimageContents}/eigent.desktop -t $out/share/applications
|
|
||||||
substituteInPlace $out/share/applications/eigent.desktop \
|
|
||||||
--replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=${pname} %U'
|
|
||||||
install -m 444 -D ${appimageContents}/eigent.png \
|
|
||||||
$out/share/icons/hicolor/256x256/apps/eigent.png
|
|
||||||
'';
|
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = nix-update-script {};
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Open source AI cowork desktop app — local alternative to Claude Cowork";
|
|
||||||
homepage = "https://github.com/eigent-ai/eigent";
|
|
||||||
license = lib.licenses.asl20;
|
|
||||||
platforms = lib.platforms.linux;
|
|
||||||
mainProgram = "eigent";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -26,20 +26,20 @@
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "n8n";
|
pname = "n8n";
|
||||||
version = "2.25.7";
|
version = "2.26.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "n8n-io";
|
owner = "n8n-io";
|
||||||
repo = "n8n";
|
repo = "n8n";
|
||||||
tag = "n8n@${finalAttrs.version}";
|
tag = "n8n@${finalAttrs.version}";
|
||||||
hash = "sha256-V8CqEzCw4DcLPCao4HRXrJXFeID2+Ef8fNW1xd1b8Vs=";
|
hash = "sha256-vvurBxJSPqcHuUt1Qh48me+/+nW9Xg+39vRf5vKg6Wc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pnpmDeps = fetchPnpmDeps {
|
pnpmDeps = fetchPnpmDeps {
|
||||||
inherit (finalAttrs) pname version src;
|
inherit (finalAttrs) pname version src;
|
||||||
pnpm = pnpm_10;
|
pnpm = pnpm_10;
|
||||||
fetcherVersion = 3;
|
fetcherVersion = 3;
|
||||||
hash = "sha256-JS4OY6CmihsbJRyPszSlNUEViFKfLm2vu+G2upIoLW8=";
|
hash = "sha256-fEJuVK2ovk1DDKdNXPFGGLfYXL11oYLKSdtfzfKFcr4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
stdenvNoCC,
|
stdenvNoCC,
|
||||||
}: let
|
}: let
|
||||||
pname = "openwork";
|
pname = "openwork";
|
||||||
version = "0.16.4";
|
version = "0.17.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url =
|
url =
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
hash =
|
hash =
|
||||||
if stdenvNoCC.hostPlatform.system == "aarch64-linux"
|
if stdenvNoCC.hostPlatform.system == "aarch64-linux"
|
||||||
then "sha256-ZSoAcOH0/gQynSCY8qCvysaNBnUl/G8Zz66a11y60Qs="
|
then "sha256-ZSoAcOH0/gQynSCY8qCvysaNBnUl/G8Zz66a11y60Qs="
|
||||||
else "sha256-CyyZ187oa+xV/t33T5aGpUN1CICxsTSBU3+1OoPbfUs=";
|
else "sha256-bQWBVvISHYalp4Tij0H9mMAMEd7b06SUW0BXjDNpyF0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
appimageContents = appimageTools.extractType2 {inherit pname version src;};
|
appimageContents = appimageTools.extractType2 {inherit pname version src;};
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
lib,
|
lib,
|
||||||
}: let
|
}: let
|
||||||
pname = "vibetyper";
|
pname = "vibetyper";
|
||||||
version = "1.3.4";
|
version = "1.3.5";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://cdn.vibetyper.com/releases/linux/VibeTyper.AppImage";
|
url = "https://cdn.vibetyper.com/releases/linux/VibeTyper.AppImage";
|
||||||
sha256 = "sha256-LNgHTV/EDEqNVpJD4vFYgGa2V0TFnCutundVxX/eknM=";
|
sha256 = "sha256-mWg//IcHdf+566he6MC5OvOKDtmfQ+jU86Elz/ZwIz8=";
|
||||||
};
|
};
|
||||||
appimageContents = appimageTools.extractType2 {inherit pname version src;};
|
appimageContents = appimageTools.extractType2 {inherit pname version src;};
|
||||||
in
|
in
|
||||||
|
|||||||
Reference in New Issue
Block a user