diff --git a/pkgs/by-name/po/polar-bookshelf1/package.nix b/pkgs/by-name/po/polar-bookshelf1/package.nix deleted file mode 100644 index e67812e0de2b..000000000000 --- a/pkgs/by-name/po/polar-bookshelf1/package.nix +++ /dev/null @@ -1,121 +0,0 @@ -{ - lib, - stdenv, - fetchurl, - alsa-lib, - at-spi2-atk, - atk, - autoPatchelfHook, - cairo, - cups, - curl, - dbus, - dpkg, - expat, - fontconfig, - gdk-pixbuf, - glib, - glibc, - gsettings-desktop-schemas, - gtk3, - libx11, - libxscrnsaver, - libxcomposite, - libxcursor, - libxdamage, - libxext, - libxfixes, - libxi, - libxrandr, - libxrender, - libxtst, - libnghttp2, - libudev0-shim, - libxcb, - makeWrapper, - nspr, - nss, - openssl, - pango, - wrapGAppsHook3, -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "polar-bookshelf1"; - version = "1.100.13"; - - src = fetchurl { - url = "mirror://sourceforge/polar-bookshelf.mirror/v${finalAttrs.version}/polar-bookshelf-${finalAttrs.version}-amd64.deb"; - hash = "sha256-TeegAq3x8LZ01KEPIlP4lTGC0a9ilnf1xX/Dqci1wEQ="; - }; - - buildInputs = [ - alsa-lib - at-spi2-atk - atk - cairo - cups - dbus - expat - fontconfig - gdk-pixbuf - glib - gsettings-desktop-schemas - gtk3 - libx11 - libxscrnsaver - libxcomposite - libxcursor - libxdamage - libxext - libxfixes - libxi - libxrandr - libxrender - libxtst - libxcb - nspr - nss - pango - ]; - - nativeBuildInputs = [ - autoPatchelfHook - dpkg - makeWrapper - wrapGAppsHook3 - ]; - - runtimeLibs = lib.makeLibraryPath [ - libudev0-shim - glibc - curl - openssl - libnghttp2 - ]; - - installPhase = '' - mkdir -p $out/share/polar-bookshelf $out/bin $out/lib - mv opt/Polar\ Bookshelf/* $out/share/polar-bookshelf - mv $out/share/polar-bookshelf/*.so $out/lib - mv usr/share/* $out/share/ - ln -s $out/share/polar-bookshelf/polar-bookshelf $out/bin/polar-bookshelf - ''; - - preFixup = '' - gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${finalAttrs.runtimeLibs}" ) - # Correct desktop file `Exec` - substituteInPlace $out/share/applications/polar-bookshelf.desktop \ - --replace "/opt/Polar Bookshelf/polar-bookshelf" "$out/bin/polar-bookshelf" - ''; - - meta = { - homepage = "https://getpolarized.io/"; - description = "Personal knowledge repository for PDF and web content supporting incremental reading and document annotation"; - mainProgram = "polar-bookshelf"; - license = lib.licenses.gpl3Only; - maintainers = [ lib.maintainers.dansbandit ]; - platforms = lib.platforms.linux; - sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; - }; -}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 04f6acb92b28..bdeaa6d5d848 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -2031,6 +2031,7 @@ mapAliases { podofo_0_9 = throw "'podofo_0_9' has been deprecated, it may be replaced by 'podofo0'"; # Added 2026-05-08 podofo_0_10 = warnAlias "'podofo_0_10' has been renamed to 'podofo0'" podofo0; # Added 2026-05-08 podofo_1_0 = throw "'podofo_1_0' has been deprecated in favour of 'podofo'"; # Added 2026-05-08 + polar-bookshelf1 = throw "'polar-bookshelf1' has been removed as it was unmaintained upstream and vendoring an EOL version of Electron"; # Added 2026-09-01 polar-bookshelf = throw "'polar-bookshelf' has been removed as it was unmaintained upstream and vendoring an EOL version of Electron"; # Added 2026-09-01 polipo = throw "'polipo' has been removed as it is unmaintained upstream"; # Added 2025-05-18 polyml56 = throw "'polyml56' has been deprecated in favor of polyml"; # Added 2026-06-01