-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nheko has support for identicons. There is a checkbox in the settings of nheko but it wasn’t clickable because the dependency (“qt-jdenticon” plugin) was missing. This change adds “qt-jdenticon” as a new package (Qt plugin) and as a dependency for Nheko. This package is maintained by Nheko team.
- Loading branch information
Showing
3 changed files
with
36 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
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 @@ | ||
{ lib, fetchFromGitHub, mkDerivation, qmake, qtbase }: | ||
|
||
mkDerivation rec { | ||
pname = "qt-jdenticon"; | ||
version = "0.2.1"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "Nheko-Reborn"; | ||
repo = "qt-jdenticon"; | ||
rev = "v${version}"; | ||
sha256 = "1dk2cmz34pdn79k6lq6jlbvy0gfp0w2vv1w4f8c9xmgmf6brcxq1"; | ||
}; | ||
|
||
nativeBuildInputs = [ qmake ]; | ||
buildInputs = [ qtbase ]; | ||
|
||
dontWrapQtApps = true; | ||
|
||
postPatch = '' | ||
# Fix plugins dir | ||
substituteInPlace QtIdenticon.pro \ | ||
--replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix" | ||
''; | ||
|
||
meta = with lib; { | ||
description = "Qt plugin for generating highly recognizable identicons"; | ||
homepage = "https://github.com/Nheko-Reborn/qt-jdenticon"; | ||
license = licenses.mit; | ||
platforms = platforms.all; | ||
maintainers = with maintainers; [ unclechu ]; | ||
}; | ||
} |
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