nixnote2: drop, unmaintained upstream since 2017

https://github.com/baumgarr/nixnote2
This commit is contained in:
Luna Nova
2026-04-26 12:09:20 -07:00
parent 99b73698a7
commit 7b8fbb83b0
3 changed files with 1 additions and 65 deletions
@@ -1,63 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
qmake,
wrapQtAppsHook,
boost,
qtbase,
qtwebkit,
poppler,
hunspell,
html-tidy,
}:
stdenv.mkDerivation rec {
pname = "nixnote2";
version = "2.0.2";
src = fetchFromGitHub {
owner = "baumgarr";
repo = "nixnote2";
rev = "v${version}";
sha256 = "0cfq95mxvcgby66r61gclm1a2c6zck5aln04xmg2q8kg6p9d31fr";
};
nativeBuildInputs = [
qmake
wrapQtAppsHook
];
buildInputs = [
boost
qtbase
qtwebkit
poppler
hunspell
];
postPatch = ''
# Fix location of poppler-qt5.h
for f in threads/indexrunner.cpp html/noteformatter.cpp utilities/noteindexer.cpp gui/plugins/popplerviewer.h gui/plugins/pluginfactory.h gui/plugins/popplerviewer.cpp ; do
substituteInPlace $f \
--replace '#include <poppler-qt5.h>' '#include <poppler/qt5/poppler-qt5.h>'
done
substituteInPlace help/about.html --replace '__VERSION__' '${version}'
substituteInPlace nixnote.cpp --replace 'tidyProcess.start("tidy' 'tidyProcess.start("${html-tidy}/bin/tidy'
'';
postInstall = ''
cp images/windowIcon.png $out/share/pixmaps/nixnote2.png
cp theme.ini $out/share/nixnote2/theme.ini
'';
meta = {
description = "Unofficial client of Evernote";
homepage = "http://www.nixnote.org/";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ htr ];
platforms = lib.platforms.linux;
};
}
+1
View File
@@ -1505,6 +1505,7 @@ mapAliases {
else
nixfmt;
nixForLinking = throw "nixForLinking has been removed, use `nixVersions.nixComponents_<version>` instead"; # Added 2025-08-14
nixnote2 = throw "'nixnote2' has been removed as upstream has been unmaintained since 2017"; # Added 2026-04-26
nixos-rebuild = nixos-rebuild-ng; # Added 2025-12-02
nixosTest = throw "'nixosTest' has been renamed to/replaced by 'testers.nixosTest'"; # Converted to throw 2025-10-27
nixStable = throw "'nixStable' has been renamed to/replaced by 'nixVersions.stable'"; # Converted to throw 2025-10-27
-2
View File
@@ -2747,8 +2747,6 @@ with pkgs;
;
};
nixnote2 = libsForQt5.callPackage ../applications/misc/nixnote2 { };
nodejs = nodejs_24;
nodejs-slim = nodejs-slim_24;