-
-
Notifications
You must be signed in to change notification settings - Fork 14k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a7b35c
commit 5119d46
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ]; | ||
}; | ||
} |