diff --git a/pkgs/development/python-modules/nixpkgs/default.nix b/pkgs/development/python-modules/nixpkgs/default.nix deleted file mode 100644 index 989eb91287d8..000000000000 --- a/pkgs/development/python-modules/nixpkgs/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchPypi, - pbr, - pythonix, - pythonAtLeast, -}: - -buildPythonPackage rec { - pname = "nixpkgs"; - version = "0.2.4"; - format = "setuptools"; - disabled = !pythonAtLeast "3.5"; - - src = fetchPypi { - inherit pname version; - sha256 = "0dlvq4bpamhlva86042wlc0xxfsxlpdgm2adfb1c6y3vjgbm0nvd"; - }; - - buildInputs = [ pbr ]; - propagatedBuildInputs = [ pythonix ]; - - # does not have any tests - doCheck = false; - pythonImportsCheck = [ "nixpkgs" ]; - - meta = with lib; { - description = "Allows to `from nixpkgs import` stuff in interactive Python sessions"; - homepage = "https://github.com/t184256/nixpkgs-python-importer"; - license = licenses.mit; - maintainers = with maintainers; [ t184256 ]; - }; -} diff --git a/pkgs/development/python-modules/pythonix/default.nix b/pkgs/development/python-modules/pythonix/default.nix deleted file mode 100644 index 18eb56419219..000000000000 --- a/pkgs/development/python-modules/pythonix/default.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - ninja, - boost, - meson, - pkg-config, - nix, - isPy3k, - python, -}: - -buildPythonPackage rec { - pname = "pythonix"; - version = "0.1.7"; - format = "other"; - - src = fetchFromGitHub { - owner = "Mic92"; - repo = "pythonix"; - rev = "v${version}"; - sha256 = "1wxqv3i4bva2qq9mx670bcx0g0irjn68fvk28dwvhay9ndwcspqf"; - }; - - disabled = !isPy3k; - - nativeBuildInputs = [ - meson - ninja - pkg-config - ]; - - buildInputs = [ - nix - boost - ]; - - postInstall = '' - # This is typically set by pipInstallHook/eggInstallHook, - # so we have to do so manually when using meson - export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH - ''; - - pythonImportsCheck = [ "nix" ]; - - meta = with lib; { - description = '' - Eval nix code from python. - ''; - maintainers = [ ]; - license = licenses.mit; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index ffa7b0460ef2..f0c7bbb6b415 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -455,6 +455,7 @@ mapAliases ({ nghttp2 = throw "in 1.52.0 removed deprecated python bindings."; # added 2023-06-08 niko-home-control = throw "niko-home-control was removed because Home Assistant switched to nhc"; # added 2025-01-09 ninja-python = ninja; # add 2022-08-03 + nixpkgs = throw "nixpkgs has been removed as its dependency pythonix was removed"; # added 2025-07-24 nose = throw "nose has been removed since it has been deprecated and unmaintained for almost a decade and does not work on Python 3.12; please switch to pytest or another test runner/framework"; # added 2024-07-28 nose3 = throw "nose3 has been removed since it is unmaintained and does not work with Python 3.12"; # added 2024-07-28 nosejs = throw "nosejs has been removed since it has not been maintained for 15 years and there are no dependent packages"; # added 2024-05-21 @@ -588,6 +589,7 @@ mapAliases ({ python-myq = throw "python-myq has been removed, as the service provider has decided to block its API requests"; # added 2023-12-07 python-picnic-api = throw "python-picnic-api was removed because Home Assistant switched to python-picnic-api2"; # added 2025-03-05 python-unshare = throw "python-unshare was removed as unmaintained since 2016"; # added 2025-05-25 + pythonix = throw "pythonix was removed as it was unmaintained since 2022"; # added 2025-07-24 pytrends = throw "pytrends has been removed, as it no longer works and is abandoned upstream"; # added 2025-02-02 pyqldb = throw "pyqldb has been removed, because the underlying service is reaching end of support"; # added 2025-07-30 pyqt4 = throw "pyqt4 has been removed, because it depended on the long EOL qt4"; # added 2022-06-09 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 19828a5367b9..b93f78a9ac72 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10411,8 +10411,6 @@ self: super: with self; { nix-prefetch-github = callPackage ../development/python-modules/nix-prefetch-github { }; - nixpkgs = callPackage ../development/python-modules/nixpkgs { }; - nixpkgs-pytools = callPackage ../development/python-modules/nixpkgs-pytools { }; nixpkgs-updaters-library = callPackage ../development/python-modules/nixpkgs-updaters-library { }; @@ -14959,11 +14957,6 @@ self: super: with self; { pythonfinder = callPackage ../development/python-modules/pythonfinder { }; - pythonix = callPackage ../development/python-modules/pythonix { - nix = pkgs.nixVersions.nix_2_3; - meson = pkgs.meson.override { python3 = self.python; }; - }; - pythonkuma = callPackage ../development/python-modules/pythonkuma { }; pythonnet = callPackage ../development/python-modules/pythonnet { };