flexoptix-app: 5.11.0 -> 5.12.1
This commit is contained in:
parent
14b9205ae2
commit
c44293e9da
1 changed files with 6 additions and 7 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue