From 4dd2f42dc90bfd121aab8c7eff00868d863cffb3 Mon Sep 17 00:00:00 2001 From: YMSTNT <21342713+YMSTNT@users.noreply.github.com> Date: Sun, 14 Apr 2024 21:08:55 +0200 Subject: [PATCH] hifile: 0.9.9.10 -> 0.9.9.11 https://www.hifile.app/changelog --- pkgs/by-name/hi/hifile/package.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/hi/hifile/package.nix b/pkgs/by-name/hi/hifile/package.nix index 5831e162d528..5af67f9177b4 100644 --- a/pkgs/by-name/hi/hifile/package.nix +++ b/pkgs/by-name/hi/hifile/package.nix @@ -1,12 +1,12 @@ { lib, appimageTools, fetchurl }: let - version = "0.9.9.10"; + version = "0.9.9.11"; pname = "hifile"; src = fetchurl { url = "https://www.hifile.app/files/HiFile-${version}.AppImage"; - hash = "sha256-wNS+vaWvJsZDrgiA7RWRfkGv9Mb6BZ2qyn67jwJu61I="; + hash = "sha256-T/ig5Tfo58+yMp+kOEa96+QvABg6gTaIbdy53jWucvM="; }; appimageContents = appimageTools.extractType2 { @@ -22,7 +22,7 @@ in appimageTools.wrapType2 rec { install -m 444 -D ${appimageContents}/HiFile.desktop $out/share/applications/HiFile.desktop install -m 444 -D ${appimageContents}/HiFile.png $out/share/icons/hicolor/512x512/apps/HiFile.png substituteInPlace $out/share/applications/HiFile.desktop \ - --replace 'Exec=HiFile' 'Exec=${pname}' + --replace-fail 'Exec=HiFile' 'Exec=${pname}' ''; meta = with lib; { @@ -35,6 +35,7 @@ in appimageTools.wrapType2 rec { license = licenses.unfree; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; maintainers = with maintainers; [ ymstnt ]; + mainProgram = "hifile"; platforms = [ "x86_64-linux" ]; }; }