Skip to content

Commit

Permalink
edex-ui: init to 2.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
yassinebenarbia committed Sep 26, 2024
1 parent 8a7b35c commit 5119d46
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/by-name/ed/edex-ui/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ appimageTools, fetchurl, system, lib }:
let
pname = "edex-ui";
name = "eDEX-UI";
version = "2.2.8";
platform = "Linux-x86_64";
src = fetchurl {
url = "https://github.com/GitSquared/edex-ui/releases/download/v${version}/${name}-${platform}.AppImage";
hash = "sha256-yPKM1yHKAyygwZYLdWyj5k3EQaZDwy6vu3nGc7QC1oE=";
};
appimageContents = appimageTools.extractType2 { inherit pname version src; };
in
appimageTools.wrapType2 {
inherit pname version src;

extraInstallCommands = ''
install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/512x512/apps/${pname}.png \
$out/share/icons/hicolor/512x512/apps/${pname}.png
substituteInPlace $out/share/applications/${pname}.desktop \
--replace 'Exec=AppRun' 'Exec=${pname} %U'
'';

meta = with lib; {
description = "A cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support.";
mainProgram = "edex-ui";
homepage = "https://github.com/GitSquared/edex-ui";
license = licenses.gpl3;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ yassinebenarbia ];
};
}

0 comments on commit 5119d46

Please sign in to comment.