-
-
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.
edex-ui: formatting, remove
system
param, remove with lib;
- Loading branch information
1 parent
5119d46
commit a56f200
Showing
2 changed files
with
19 additions
and
11 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
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 |
---|---|---|
@@ -1,32 +1,34 @@ | ||
{ appimageTools, fetchurl, system, lib }: | ||
let | ||
{ | ||
appimageTools, | ||
fetchurl, | ||
lib, | ||
}: | ||
appimageTools.wrapType2 rec { | ||
pname = "edex-ui"; | ||
name = "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 | ||
$out/share/icons/hicolor/512x512/apps/${pname}.png | ||
substituteInPlace $out/share/applications/${pname}.desktop \ | ||
--replace 'Exec=AppRun' 'Exec=${pname} %U' | ||
--replace 'Exec=AppRun' 'Exec=${pname} %U' | ||
''; | ||
|
||
meta = with lib; { | ||
meta = { | ||
description = "A cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support."; | ||
mainProgram = "edex-ui"; | ||
changelog = "https://github.com/GitSquared/edex-ui/releases/tag${version}"; | ||
homepage = "https://github.com/GitSquared/edex-ui"; | ||
license = licenses.gpl3; | ||
license = lib.licenses.gpl3; | ||
platforms = [ "x86_64-linux" ]; | ||
maintainers = with maintainers; [ yassinebenarbia ]; | ||
maintainers = with lib.maintainers; [ yassinebenarbia ]; | ||
}; | ||
} |