notepadqq: drop

Unmaintained upstream [1], depends on qmake and qt5 webengine.

[1] https://github.com/notepadqq/notepadqq/commit/b426303b5df28b63b6316308927f62db072c27e6
This commit is contained in:
Grimmauld
2026-04-26 19:25:46 +02:00
parent 1b80c670e4
commit 4142633ab2
4 changed files with 1 additions and 96 deletions
@@ -1,72 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
which,
qttools,
wrapQtAppsHook,
libuchardet,
qtbase,
qtsvg,
qtwebengine,
qtwebsockets,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "notepadqq";
# shipping a beta build as there's no proper release which supports qtwebengine
version = "2.0.0-beta";
src = fetchFromGitHub {
owner = "notepadqq";
repo = "notepadqq";
rev = "v${finalAttrs.version}";
sha256 = "sha256-XA9Ay9kJApY+bDeOf0iPv+BWYFuTmIuqsLEPgRTCZCE=";
};
patches = [
# Fix: chmod in the Makefile fails randomly
# Move it to preFixup instead
./fix-configure.patch
];
nativeBuildInputs = [
pkg-config
which
qttools
wrapQtAppsHook
];
buildInputs = [
libuchardet
qtbase
qtsvg
qtwebengine
qtwebsockets
];
strictDeps = false; # breaks qmake
preConfigure = ''
export LRELEASE="lrelease"
'';
dontWrapQtApps = true;
preFixup = ''
chmod +x $out/bin/notepadqq
wrapQtApp $out/bin/notepadqq
'';
enableParallelBuilding = true;
meta = {
homepage = "https://notepadqq.com/";
description = "Notepad++-like editor for the Linux desktop";
license = lib.licenses.gpl3;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.rszibele ];
mainProgram = "notepadqq";
};
})
@@ -1,22 +0,0 @@
diff --git a/src/ui/ui.pro b/src/ui/ui.pro
index a1346eb..f8052a2 100644
--- a/src/ui/ui.pro
+++ b/src/ui/ui.pro
@@ -293,16 +293,9 @@ unix:!macx {
appstream.path = "$$INSTALL_ROOT$$PREFIX/share/metainfo/"
appstream.files += "$$INSTALLFILESDIR/notepadqq.appdata.xml"
- # == Dummy target used to fix permissions at the end of the install ==
- # A random path. Without one, qmake refuses to create the rule.
- set_permissions.path = "$$INSTALL_ROOT$$PREFIX/bin/"
- # We want to keep $$INSTALL_ROOT as a variable in the makefile, so we use $(INSTALL_ROOT)
- unix:set_permissions.extra = chmod 755 $(INSTALL_ROOT)\"$$PREFIX/bin/notepadqq\"
-
# MAKE INSTALL
INSTALLS += target \
icon_h16 icon_h22 icon_h24 icon_h32 icon_h48 icon_h64 icon_h96 icon_h128 icon_h256 icon_h512 icon_hscalable \
- misc_data launch shortcuts appstream \
- set_permissions
+ misc_data launch shortcuts appstream
}
+1
View File
@@ -1501,6 +1501,7 @@ mapAliases {
nomacs-qt6 = nomacs; # Added 2025-08-30
norouter = throw "norouter has been removed because it has been marked as broken since at least November 2024."; # Added 2025-09-29
notary = throw "'notary' has been removed due to being archived upstream. Consider using 'notation' instead."; # Added 2025-11-13
notepadqq = throw "'notepadqq' has been removed due to upstream stopping maintenance in 2023."; # Added 2026-02-10
notes-up = throw "'notes-up' has been removed as it was unmaintained and depends on deprecated webkitgtk_4_0"; # Added 2025-10-09
notify-sharp = throw "'notify-sharp' has been removed as it was unmaintained and depends on deprecated dbus-sharp versions"; # Added 2025-08-25
noto-fonts-emoji = throw "'noto-fonts-emoji' has been renamed to/replaced by 'noto-fonts-color-emoji'"; # Converted to throw 2025-10-27
-2
View File
@@ -10033,8 +10033,6 @@ with pkgs;
ncdu_1 = callPackage ../by-name/nc/ncdu/1.nix { };
notepadqq = libsForQt5.callPackage ../applications/editors/notepadqq { };
notmuch = callPackage ../applications/networking/mailreaders/notmuch {
pythonPackages = python3Packages;
};