flexoptix-app: 5.11.0 -> 5.12.1

This commit is contained in:
Janne Heß 2022-08-12 13:57:23 +01:00
parent 14b9205ae2
commit c44293e9da
No known key found for this signature in database
GPG key ID: 69165158F05265DF

View file

@ -1,12 +1,11 @@
{ lib, appimageTools, fetchurl, nodePackages }: let
pname = "flexoptix-app";
version = "5.11.0";
name = "${pname}-${version}";
version = "5.12.1";
src = fetchurl {
name = "${name}.AppImage";
name = "${pname}-${version}.AppImage";
url = "https://flexbox.reconfigure.me/download/electron/linux/x64/FLEXOPTIX%20App.${version}.AppImage";
hash = "sha256-Nj6S53b4w84qppkGB7lMpJhJlxifaD4acPryuZxY7cM=";
hash = "sha256-ugnJcSFgEEPJ9qxqmRGgW1fraE4E/HbbxpK/00TXPmw=";
};
udevRules = fetchurl {
@ -14,7 +13,7 @@
hash = "sha256-OZe5dV50xq99olImbo7JQxPjRd7hGyBIVwFvtR9cIVc=";
};
appimageContents = (appimageTools.extract { inherit name src; }).overrideAttrs (oA: {
appimageContents = (appimageTools.extract { inherit pname version src; }).overrideAttrs (oA: {
buildCommand = ''
${oA.buildCommand}
@ -26,7 +25,7 @@
});
in appimageTools.wrapAppImage {
inherit name;
inherit pname version;
src = appimageContents;
multiPkgs = null; # no 32bit needed
@ -36,7 +35,7 @@ in appimageTools.wrapAppImage {
extraInstallCommands = ''
# Add desktop convencience stuff
mv $out/bin/{${name},${pname}}
mv $out/bin/{${pname}-*,${pname}}
install -Dm444 ${appimageContents}/flexoptix-app.desktop -t $out/share/applications
install -Dm444 ${appimageContents}/flexoptix-app.png -t $out/share/pixmaps
substituteInPlace $out/share/applications/flexoptix-app.desktop \