Merge pull request #261888 from YMSTNT/init-hifile

hifile: init at 0.9.9.5
This commit is contained in:
Peder Bergebakken Sundt 2023-10-21 02:18:48 +02:00 committed by GitHub
commit 403f385e63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 46 additions and 0 deletions

View file

@ -19356,6 +19356,11 @@
github = "ymeister";
githubId = 47071325;
};
ymstnt = {
name = "YMSTNT";
github = "ymstnt";
githubId = 21342713;
};
yoavlavi = {
email = "yoav@yoavlavi.com";
github = "yoav-lavi";

View file

@ -0,0 +1,41 @@
{ lib, appimageTools, fetchurl }:
let
version = "0.9.9.5";
pname = "hifile";
src = fetchurl {
url = "https://www.hifile.app/files/HiFile-${version}.AppImage";
hash = "sha256-Ks/NLPm5loo9q8pT0LdtfcrC38203beNE74sbEpyuJM=";
};
appimageContents = appimageTools.extractType2 {
inherit pname version src;
};
in
appimageTools.wrapType2 rec {
inherit pname version src;
extraInstallCommands = ''
mv $out/bin/${pname}-${version} $out/bin/${pname}
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}'
'';
meta = with lib; {
description = "Dual-pane graphical file manager for Windows, macOS and Linux";
longDescription = ''
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.
'';
homepage = "https://www.hifile.app/";
downloadPage = "https://www.hifile.app/download";
license = licenses.unfree;
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
maintainers = with maintainers; [ ymstnt ];
platforms = [ "x86_64-linux" ];
};
}