Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
1.0 KiB
Nix
44 lines
1.0 KiB
Nix
{
|
|
appimageTools,
|
|
lib,
|
|
fetchurl,
|
|
}:
|
|
let
|
|
pname = "sozi";
|
|
version = "23.7.25-1690311612";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/sozi-projects/Sozi/releases/download/v23.07/Sozi-${version}.AppImage";
|
|
hash = "sha256-QHvgevv60ZTkkdt+IWaCuXt0XVnhe5Q5oROwa2LFie8=";
|
|
};
|
|
|
|
appimageContents = appimageTools.extract {
|
|
inherit version pname src;
|
|
};
|
|
in
|
|
appimageTools.wrapType2 {
|
|
inherit pname version src;
|
|
|
|
extraPkgs =
|
|
pkgs: with pkgs; [
|
|
polkit
|
|
udev
|
|
];
|
|
|
|
extraInstallCommands = ''
|
|
install -m 444 -D ${appimageContents}/sozi.desktop -t $out/share/applications
|
|
cp -r ${appimageContents}/usr/share/icons $out/share
|
|
substituteInPlace $out/share/applications/sozi.desktop \
|
|
--replace 'Exec=AppRun' 'Exec=sozi'
|
|
'';
|
|
|
|
meta = {
|
|
description = "Zooming presentation editor and player";
|
|
homepage = "https://sozi.baierouge.fr/";
|
|
license = lib.licenses.mpl20;
|
|
mainProgram = "sozi";
|
|
platforms = [ "x86_64-linux" ];
|
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
|
};
|
|
}
|