notepad-next: enable on darwin

This commit is contained in:
Nikolay Korotkiy 2023-06-12 23:28:24 +04:00
parent e94ae32f3a
commit 332fedbe9b
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5

View file

@ -27,11 +27,16 @@ mkDerivation rec {
--replace '$$[QT_INSTALL_TRANSLATIONS]/qt_zh_CN.qm' "" --replace '$$[QT_INSTALL_TRANSLATIONS]/qt_zh_CN.qm' ""
''; '';
postInstall = lib.optionalString stdenv.isDarwin ''
mv $out/bin $out/Applications
rm -fr $out/share
'';
meta = with lib; { meta = with lib; {
homepage = "https://github.com/dail8859/NotepadNext"; homepage = "https://github.com/dail8859/NotepadNext";
description = "Notepad++-like editor for the Linux desktop"; description = "A cross-platform, reimplementation of Notepad++";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = platforms.linux; platforms = platforms.unix;
maintainers = [ maintainers.sebtm ]; maintainers = [ maintainers.sebtm ];
broken = stdenv.isAarch64; broken = stdenv.isAarch64;
}; };