about summary refs log tree commit diff
path: root/pkgs/development/interpreters/python
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2023-12-12 12:05:34 +1300
committeradisbladis <adisbladis@gmail.com>2023-12-12 12:21:38 +1300
commit6b9f45ae37450d224a89d072df672551ead5453a (patch)
treef89a68e6a0eb2ac420c3b5a743528f55dbfbd7f2 /pkgs/development/interpreters/python
parent7c71bd52245fc2a272d9f9a4f0cde36a96f7195a (diff)
downloadnixlib-6b9f45ae37450d224a89d072df672551ead5453a.tar
nixlib-6b9f45ae37450d224a89d072df672551ead5453a.tar.gz
nixlib-6b9f45ae37450d224a89d072df672551ead5453a.tar.bz2
nixlib-6b9f45ae37450d224a89d072df672551ead5453a.tar.lz
nixlib-6b9f45ae37450d224a89d072df672551ead5453a.tar.xz
nixlib-6b9f45ae37450d224a89d072df672551ead5453a.tar.zst
nixlib-6b9f45ae37450d224a89d072df672551ead5453a.zip
python3.pkgs.buildsetupcfg: Remove function from python-packages-base.nix
This function is not, and never have been, used anywhere inside nixpkgs, outside of bootstrapping setupcfg2nix itself.
It was added in https://github.com/NixOS/nixpkgs/pull/38778 by @shlevy.

It has no out-of-tree users on Github either. External breakage is not expected.
Diffstat (limited to 'pkgs/development/interpreters/python')
-rw-r--r--pkgs/development/interpreters/python/python-packages-base.nix5
1 files changed, 0 insertions, 5 deletions
diff --git a/pkgs/development/interpreters/python/python-packages-base.nix b/pkgs/development/interpreters/python/python-packages-base.nix
index b5afaf34ce61..2126b796ca9d 100644
--- a/pkgs/development/interpreters/python/python-packages-base.nix
+++ b/pkgs/development/interpreters/python/python-packages-base.nix
@@ -47,9 +47,6 @@ let
     toPythonModule = x: x;  # Application does not provide modules.
   }));
 
-  # See build-setupcfg/default.nix for documentation.
-  buildSetupcfg = import ../../../build-support/build-setupcfg lib self;
-
   # Check whether a derivation provides a Python module.
   hasPythonModule = drv: drv?pythonModule && drv.pythonModule == python;
 
@@ -92,13 +89,11 @@ let
   disabledIf = x: drv: if x then disabled drv else drv;
 
 in {
-
   inherit lib pkgs stdenv;
   inherit (python.passthru) isPy27 isPy37 isPy38 isPy39 isPy310 isPy311 isPy3k isPyPy pythonAtLeast pythonOlder;
   inherit buildPythonPackage buildPythonApplication;
   inherit hasPythonModule requiredPythonModules makePythonPath disabled disabledIf;
   inherit toPythonModule toPythonApplication;
-  inherit buildSetupcfg;
 
   python = toPythonModule python;
   # Dont take pythonPackages from "global" pkgs scope to avoid mixing python versions