1 { lib, appimageTools, fetchurl }:
8 url = "https://www.hifile.app/files/HiFile-${version}.AppImage";
9 hash = "sha256-nZlPdl7D0UWtm8mFz4IDqmvGeBVc7mbeUpzyHrdDQtk=";
12 appimageContents = appimageTools.extractType2 {
13 inherit pname version src;
16 in appimageTools.wrapType2 rec {
17 inherit pname version src;
19 extraInstallCommands = ''
20 install -m 444 -D ${appimageContents}/HiFile.desktop $out/share/applications/HiFile.desktop
21 install -m 444 -D ${appimageContents}/HiFile.png $out/share/icons/hicolor/512x512/apps/HiFile.png
22 substituteInPlace $out/share/applications/HiFile.desktop \
23 --replace-fail 'Exec=HiFile' 'Exec=${pname}'
27 description = "Dual-pane graphical file manager for Windows, macOS and Linux";
29 HiFile is the next evolution of file managers. Its mission is to increase your productivity whenever you work with files or folders. It aims to be better in every way - more convenient, more versatile, more efficient, more elegant, more customizable, and more fun.
31 homepage = "https://www.hifile.app/";
32 downloadPage = "https://www.hifile.app/download";
33 license = licenses.unfree;
34 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
35 maintainers = with maintainers; [ ymstnt ];
36 mainProgram = "hifile";
37 platforms = [ "x86_64-linux" ];