diff --git a/pkgs/development/libraries/python-qt/default.nix b/pkgs/development/libraries/python-qt/default.nix deleted file mode 100644 index 7b70c94c1872..000000000000 --- a/pkgs/development/libraries/python-qt/default.nix +++ /dev/null @@ -1,66 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - python3, - qmake, - qtwebengine, - qtxmlpatterns, - qttools, -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "python-qt"; - version = "3.6.1"; - - src = fetchFromGitHub { - owner = "MeVisLab"; - repo = "pythonqt"; - rev = "v${finalAttrs.version}"; - hash = "sha256-OYFQtDGq+d32RQ0vChRKH//O9QgQPLMd1he8X3zCi+U="; - }; - - nativeBuildInputs = [ - qmake - qttools - qtxmlpatterns - qtwebengine - ]; - - buildInputs = [ python3 ]; - - qmakeFlags = [ - "PYTHON_DIR=${python3}" - "PYTHON_VERSION=3.${python3.sourceVersion.minor}" - ]; - - dontWrapQtApps = true; - - installPhase = '' - mkdir -p $out/include/PythonQt - cp -r ./lib $out - cp -r ./src/* $out/include/PythonQt - cp -r ./build $out/include/PythonQt - cp -r ./extensions $out/include/PythonQt - ''; - - preFixup = lib.optionalString stdenv.hostPlatform.isDarwin '' - install_name_tool -id \ - $out/lib/libPythonQt-Qt5-Python3.${python3.sourceVersion.minor}.dylib \ - $out/lib/libPythonQt-Qt5-Python3.${python3.sourceVersion.minor}.dylib - install_name_tool -change \ - libPythonQt-Qt5-Python3.${python3.sourceVersion.minor}.3.dylib \ - $out/lib/libPythonQt-Qt5-Python3.${python3.sourceVersion.minor}.3.dylib \ - -id \ - $out/lib/libPythonQt_QtAll-Qt5-Python3.${python3.sourceVersion.minor}.dylib \ - $out/lib/libPythonQt_QtAll-Qt5-Python3.${python3.sourceVersion.minor}.dylib - ''; - - meta = { - description = "PythonQt is a dynamic Python binding for the Qt framework. It offers an easy way to embed the Python scripting language into your C++ Qt applications"; - homepage = "https://pythonqt.sourceforge.net/"; - license = lib.licenses.lgpl21; - platforms = lib.platforms.all; - maintainers = with lib.maintainers; [ hlolli ]; - }; -}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index f74111e1ecec..6bd244744d77 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1418,6 +1418,7 @@ mapAliases { python313Full = throw "python313Full has been removed. Bluetooth support is now enabled by default. The tkinter package is available within the package set."; # Added 2025-08-30 python314Full = throw "python314Full has been removed. Bluetooth support is now enabled by default. The tkinter package is available within the package set."; # Added 2025-08-30 python = throw "`python` previously pointed to Python 2; use `python3` or `python2` if necessary"; # Converted to throw 2025-10-27 + python-qt = throw "python-qt has been removed, because hard to maintain and not required by anything"; # Added 2025-01-14 pythonFull = throw "'pythonFull' previously pointed to Python 2; use `python3` or `python2Full` if necessary"; # Converted to throw 2025-10-27 pythonPackages = throw "`pythonPackages` previously pointed to Python 2; use `python3Packages` or `python2.pkgs` if necessary"; # Converted to throw 2025-10-27 q2pro = throw "'q2pro' has been removed as upstream repository was deleted and no direct active forks were available."; # Added 2025-12-27 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 746d96f57baf..1ebd65a57340 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8005,8 +8005,6 @@ with pkgs; pth = if stdenv.hostPlatform.isMusl then npth else gnupth; - python-qt = libsForQt5.callPackage ../development/libraries/python-qt { }; - pyotherside = libsForQt5.callPackage ../development/libraries/pyotherside { }; qbs = libsForQt5.callPackage ../development/tools/build-managers/qbs { }; diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 55eb3d572c60..f633a7ecc96b 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -392,6 +392,7 @@ mapAliases { python-jsonrpc-server = throw "python-jsonrpc-server has been removed because it was no longer used by anything"; # added 2025-11-11 python-Levenshtein = throw "'python-Levenshtein' has been renamed to/replaced by 'levenshtein'"; # Converted to throw 2025-10-29 python-lz4 = throw "'python-lz4' has been renamed to/replaced by 'lz4'"; # Converted to throw 2025-10-29 + python-qt = throw "python-qt has been removed, because hard to maintain and not required by anything"; # Added 2025-01-14 python-simple-hipchat = throw "'python-simple-hipchat' has been removed because it was broken and unmaintained"; # added 2025-08-26 python-subunit = throw "'python-subunit' has been renamed to/replaced by 'subunit'"; # Converted to throw 2025-10-29 python-u2flib-server = throw "'python-u2flib-server' has been removed, since it was broken and archived upstream"; # added 2025-11-08 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 56376101a6cb..421778284a04 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -15527,8 +15527,6 @@ self: super: with self; { python-ptrace = callPackage ../development/python-modules/python-ptrace { }; - python-qt = toPythonModule (pkgs.python-qt.override { python3 = self.python; }); - python-rabbitair = callPackage ../development/python-modules/python-rabbitair { }; python-rapidjson = callPackage ../development/python-modules/python-rapidjson { };