Some checks failed
CI / check (push) Has been cancelled
- Use appimageTools.wrapType2 instead of manual stdenv.mkDerivation - Source: loop-desktop-6.0.3-linux-x86_64.AppImage - Simplify dependencies via extraPkgs (gtk3, glib)
44 lines
864 B
Nix
44 lines
864 B
Nix
{
|
|
lib,
|
|
appimageTools,
|
|
fetchurl,
|
|
}:
|
|
|
|
let
|
|
version = "6.0.3";
|
|
in
|
|
|
|
appimageTools.wrapType2 {
|
|
pname = "loop";
|
|
inherit version;
|
|
|
|
src = fetchurl {
|
|
url = "https://artifacts.wilix.dev/repository/loop-files/loop-${version}/loop-desktop-${version}-linux-x86_64.AppImage";
|
|
hash = "sha256-zGWKlY6XwuL0e2mDpB/1t0UnW73bhCPcg6XkBJBCEFY=";
|
|
};
|
|
|
|
extraPkgs = pkgsWith: [
|
|
pkgsWith.gtk3
|
|
pkgsWith.glib
|
|
];
|
|
|
|
passthru = {
|
|
category = "Communication";
|
|
updateScript = [
|
|
"nix-update"
|
|
"--flake"
|
|
".#loop"
|
|
];
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Corporate messenger for your team";
|
|
homepage = "https://loop.ru";
|
|
license = licenses.unfree;
|
|
maintainers = with maintainers; [ ];
|
|
platforms = [ "x86_64-linux" ];
|
|
mainProgram = "loop";
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
};
|
|
}
|