feat(loop): Add Loop corporate messenger package
Some checks failed
CI / check (push) Has been cancelled
Some checks failed
CI / check (push) Has been cancelled
Add Loop v6.0.3 - a corporate messenger distributed as a pre-built x86-64 binary. Uses autoPatchelfHook and wrapGAppsHook3 for NixOS compatibility.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{"_type":"issue","id":"nix-overlay-6y6","title":"Add Loop corporate messenger package","description":"Add Loop - Corporate messenger for your team. Distributed as x86-64 binary from https://artifacts.wilix.dev/repository/loop-files/loop-6.0.3/loop-desktop-6.0.3-linux-x64.tar.gz","status":"in_progress","priority":2,"issue_type":"feature","assignee":"Alexander Miroshnichenko","owner":"alex@millerson.name","created_at":"2026-05-29T16:41:37Z","created_by":"Alexander Miroshnichenko","updated_at":"2026-05-29T16:42:02Z","started_at":"2026-05-29T16:42:02Z","dependency_count":0,"dependent_count":0,"comment_count":0}
|
||||
{"_type":"issue","id":"nix-overlay-cdt","title":"radar-1.6.1","description":"update package radar to v1.6.1","status":"closed","priority":2,"issue_type":"task","owner":"alex@millerson.name","created_at":"2026-05-17T12:41:54Z","created_by":"Alexander Miroshnichenko","updated_at":"2026-05-17T13:03:38Z","closed_at":"2026-05-17T13:03:38Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0}
|
||||
{"_type":"issue","id":"nix-overlay-27z","title":"freebuff","description":"В данный nixos overlay репозиторй необходимо добавить новый пакет https://www.npmjs.com/package/freebuff .\nИспользуй mcp: nixos, karpathy-guidelines и Sequential Thinking для планирования шаг за шагом задачи. Управление тасками используй beads. Разбей задачу на подзадачи, используя beads с указанием parent task.\n\nRequired Skills\ncaveman,karpathy-guidelines,nix,nix-flakes","status":"closed","priority":2,"issue_type":"feature","assignee":"Alexander Miroshnichenko","owner":"alex@millerson.name","created_at":"2026-05-11T16:11:44Z","created_by":"Alexander Miroshnichenko","updated_at":"2026-05-11T17:03:53Z","started_at":"2026-05-11T16:17:34Z","closed_at":"2026-05-11T17:03:53Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0}
|
||||
{"_type":"issue","id":"nix-overlay-qlc.5","title":"Update package metadata and updateScript","description":"Remove binaryNativeCode sourceProvenance, update meta, adjust updateScript for source build","status":"closed","priority":2,"issue_type":"task","assignee":"Alexander Miroshnichenko","owner":"alex@millerson.name","created_at":"2026-05-11T13:51:22Z","created_by":"Alexander Miroshnichenko","updated_at":"2026-05-11T15:01:06Z","started_at":"2026-05-11T14:59:33Z","closed_at":"2026-05-11T15:01:06Z","close_reason":"Closed","dependencies":[{"issue_id":"nix-overlay-qlc.5","depends_on_id":"nix-overlay-qlc","type":"parent-child","created_at":"2026-05-11T16:51:21Z","created_by":"Alexander Miroshnichenko","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
|
||||
|
||||
@@ -22,6 +22,7 @@ A custom Nix overlay and flake providing additional packages not found in upstre
|
||||
| `mcp-gateway` | Universal Model Context Protocol gateway that sits between AI client and MCP tools/servers | MCP Servers |
|
||||
| `skillsmcp` | MCP server that exposes Agent Skills to AI agents via the Model Context Protocol | MCP Servers |
|
||||
| `kubernetes-mcp-server` | Model Context Protocol (MCP) server for Kubernetes and OpenShift | MCP Servers |
|
||||
| `loop` | Corporate messenger for your team | Communication |
|
||||
| `radar` | Modern Kubernetes visibility — topology, event timeline, service traffic, resource browsing, Helm management, and GitOps support | Kubernetes |
|
||||
|
||||
## Usage
|
||||
@@ -118,6 +119,7 @@ nix-overlay/
|
||||
│ ├── graphify/ # Knowledge graph generator for code folders
|
||||
│ ├── hipengine/ # ROCm-native LLM inference engine for AMD GPUs
|
||||
│ ├── kubernetes-mcp-server/ # MCP server for Kubernetes and OpenShift
|
||||
│ ├── loop/ # Corporate messenger for your team
|
||||
│ ├── mcp-gateway/ # MCP protocol gateway
|
||||
│ ├── radar/ # Kubernetes UI (topology, timeline, Helm, GitOps)
|
||||
│ └── skillsmcp/ # MCP server for Agent Skills
|
||||
|
||||
2
packages/loop/default.nix
Normal file
2
packages/loop/default.nix
Normal file
@@ -0,0 +1,2 @@
|
||||
{ pkgs, ... }:
|
||||
pkgs.callPackage ./package.nix { }
|
||||
138
packages/loop/package.nix
Normal file
138
packages/loop/package.nix
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
autoPatchelfHook,
|
||||
makeWrapper,
|
||||
wrapGAppsHook3,
|
||||
gtk3,
|
||||
glib,
|
||||
libdrm,
|
||||
mesa,
|
||||
nss,
|
||||
nspr,
|
||||
alsa-lib,
|
||||
dbus,
|
||||
cups,
|
||||
libxkbcommon,
|
||||
xorg,
|
||||
systemd,
|
||||
libnotify,
|
||||
libsecret, libappindicator-gtk3,
|
||||
gsettings-desktop-schemas,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "6.0.3";
|
||||
pname = "loop";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://artifacts.wilix.dev/repository/loop-files/loop-${version}/loop-desktop-${version}-linux-x64.tar.gz";
|
||||
hash = "sha256-xqbESTUYHumdVbxcaMi838wgCVBH05KfsBZB+QOwNhk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
makeWrapper
|
||||
wrapGAppsHook3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
gtk3
|
||||
glib
|
||||
libdrm
|
||||
mesa
|
||||
nss
|
||||
nspr
|
||||
alsa-lib
|
||||
dbus
|
||||
cups
|
||||
libxkbcommon
|
||||
xorg.libX11
|
||||
xorg.libXcomposite
|
||||
xorg.libXdamage
|
||||
xorg.libXext
|
||||
xorg.libXfixes
|
||||
xorg.libXrandr
|
||||
xorg.libxcb
|
||||
xorg.libxshmfence
|
||||
systemd
|
||||
libnotify
|
||||
libsecret
|
||||
libappindicator-gtk3
|
||||
gsettings-desktop-schemas
|
||||
];
|
||||
|
||||
dontBuild = true;
|
||||
dontStrip = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p "$out/share/loop" "$out/bin" "$out/share/applications" "$out/share/icons/hicolor/256x256/apps"
|
||||
|
||||
cp -r . "$out/share/loop/"
|
||||
|
||||
# Find and symlink the main executable
|
||||
if [ -f "$out/share/loop/loop" ]; then
|
||||
ln -s "$out/share/loop/loop" "$out/bin/loop"
|
||||
elif [ -f "$out/share/loop/Loop" ]; then
|
||||
ln -s "$out/share/loop/Loop" "$out/bin/loop"
|
||||
elif [ -f "$out/share/loop/loop-desktop" ]; then
|
||||
ln -s "$out/share/loop/loop-desktop" "$out/bin/loop"
|
||||
else
|
||||
# Try to find any executable
|
||||
for f in "$out/share/loop/"*; do
|
||||
if [ -x "$f" ] && [ ! -d "$f" ]; then
|
||||
ln -s "$f" "$out/bin/loop"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# Desktop entry
|
||||
cat > "$out/share/applications/loop.desktop" << EOF
|
||||
[Desktop Entry]
|
||||
Name=Loop
|
||||
Comment=Corporate messenger for your team
|
||||
Exec=$out/bin/loop
|
||||
Icon=loop
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Network;InstantMessaging;
|
||||
EOF
|
||||
|
||||
# Install icon if present
|
||||
if [ -f "$out/share/loop/loop-desktop.png" ]; then
|
||||
cp "$out/share/loop/loop-desktop.png" "$out/share/icons/hicolor/256x256/apps/loop.png"
|
||||
elif [ -f "$out/share/loop/app_icon.png" ]; then
|
||||
cp "$out/share/loop/app_icon.png" "$out/share/icons/hicolor/256x256/apps/loop.png"
|
||||
fi
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
category = "Communication";
|
||||
updateScript = [
|
||||
"nix-update"
|
||||
"--flake"
|
||||
".#loop"
|
||||
];
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Corporate messenger for your team";
|
||||
homepage = "https://wilix.dev/loop";
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
mainProgram = "loop";
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user