From 468d967a7836192d76687f6ebdfa035b037ae36f Mon Sep 17 00:00:00 2001 From: Manuel Frischknecht Date: Sun, 16 Nov 2025 19:57:03 +0100 Subject: [PATCH] pangolin: drop The latest ffmpeg updates broke the `pangolin` build, and although updating it to the latest version fixes the build again, @infinisil and I also weren't able to figure out where exactly this is still actively being used. The library shares its name with a reverse proxy, and all references a quick ripgrep for `pangolin` returns are either the NixOS module or the tests for said reverse proxy. @expipiplus1 also stopped maintaining the package as of e134422465913332a5c9cb3ec9161650f7d459c8 (still before the 2024.11 release), qualifying this package for removal as per RFC 0180 [^1]. [^1]: https://github.com/NixOS/rfcs/blob/master/rfcs/0180-broken-package-removal.md --- pkgs/by-name/pa/pangolin/package.nix | 68 ---------------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 68 deletions(-) delete mode 100644 pkgs/by-name/pa/pangolin/package.nix diff --git a/pkgs/by-name/pa/pangolin/package.nix b/pkgs/by-name/pa/pangolin/package.nix deleted file mode 100644 index 30cbbedeb70c..000000000000 --- a/pkgs/by-name/pa/pangolin/package.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ - stdenv, - lib, - fetchFromGitHub, - cmake, - pkg-config, - doxygen, - libGL, - glew, - xorg, - ffmpeg, - libjpeg, - libpng, - libtiff, - eigen, -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "pangolin"; - version = "0.9.1"; - - src = fetchFromGitHub { - owner = "stevenlovegrove"; - repo = "Pangolin"; - rev = "v${finalAttrs.version}"; - sha256 = "sha256-B5YuNcJZHjR3dlVs66rySi68j29O3iMtlQvCjTUZBeY="; - }; - - nativeBuildInputs = [ - cmake - pkg-config - doxygen - ]; - - buildInputs = [ - libGL - glew - xorg.libX11 - ffmpeg - libjpeg - libpng - libtiff.out - eigen - ]; - - # The tests use cmake's findPackage to find the installed version of - # pangolin, which isn't what we want (or available). - doCheck = false; - cmakeFlags = [ (lib.cmakeBool "BUILD_TESTS" false) ]; - - meta = { - description = "Lightweight portable rapid development library for managing OpenGL display / interaction and abstracting video input"; - longDescription = '' - Pangolin is a lightweight portable rapid development library for managing - OpenGL display / interaction and abstracting video input. At its heart is - a simple OpenGl viewport manager which can help to modularise 3D - visualisation without adding to its complexity, and offers an advanced - but intuitive 3D navigation handler. Pangolin also provides a mechanism - for manipulating program variables through config files and ui - integration, and has a flexible real-time plotter for visualising - graphical data. - ''; - homepage = "https://github.com/stevenlovegrove/Pangolin"; - license = lib.licenses.mit; - maintainers = [ ]; - platforms = lib.platforms.all; - }; -}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 24c58fc39df5..f526c87b37c4 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1209,6 +1209,7 @@ mapAliases { pacup = throw "'pacup' has been renamed to/replaced by 'perlPackages.pacup'"; # Converted to throw 2025-10-27 PageEdit = throw "'PageEdit' has been renamed to/replaced by 'pageedit'"; # Converted to throw 2025-10-27 pal = throw "pal has been removed, as it was broken"; # Added 2025-08-25 + pangolin = throw "pangolin has been removed due to lack of maintenance"; # Added 2025-11-17 paperless-ng = throw "'paperless-ng' has been renamed to/replaced by 'paperless-ngx'"; # Converted to throw 2025-10-27 parcellite = throw "'parcellite' was remove due to lack of maintenance and relying on gtk2"; # Added 2025-10-03 patchelfStable = throw "'patchelfStable' has been renamed to/replaced by 'patchelf'"; # Converted to throw 2025-10-27