Commit a3dd8f69 authored by Wolfgang Walther's avatar Wolfgang Walther Committed by Jörg Thalheim
Browse files

python3Packages.nixpkgs: drop

This depends on pythonix, which is dropped in the next commit. Not
updated for 6 years.
parent 1e4e0880
Loading
Loading
Loading
Loading
+0 −34
Original line number Diff line number Diff line
{
  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 ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −2
Original line number Diff line number Diff line
@@ -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 { };