mod: added archon, added to workflow file
This commit is contained in:
32
pkgs/linux/archon.nix
Normal file
32
pkgs/linux/archon.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ pkgs }:
|
||||
let
|
||||
pname = "archon";
|
||||
version = "9.3.119";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/RPGLogs/Uploaders-archon/releases/download/v${version}/${pname}-v${version}.AppImage";
|
||||
hash = "sha256-mUsmaIxm3DZ1vvcwxpmDTWTj+UlFSv+jYkBrteL8xQk=";
|
||||
};
|
||||
|
||||
appimageContents = pkgs.appimageTools.extract {
|
||||
inherit pname version src;
|
||||
};
|
||||
in
|
||||
pkgs.appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
|
||||
nativeBuildInputs = with pkgs; [ makeWrapper ];
|
||||
extraInstallCommands = ''
|
||||
install -Dm444 "${appimageContents}/Archon App.desktop" "$out/share/applications/archon.desktop"
|
||||
install -Dm444 "${appimageContents}/Archon App.png" "$out/share/icons/hicolor/256x256/apps/archon.png"
|
||||
'';
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
description = "RPGLogs Archon uploader";
|
||||
homepage = "https://github.com/RPGLogs/Uploaders-archon";
|
||||
license = licenses.unfree;
|
||||
platforms = platforms.linux;
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
mainProgram = "archon";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user