diff --git a/pkgs/development/python-modules/pip/default.nix b/pkgs/development/python-modules/pip/default.nix index f4c66ee881e3..dd789fdb9727 100644 --- a/pkgs/development/python-modules/pip/default.nix +++ b/pkgs/development/python-modules/pip/default.nix @@ -6,7 +6,8 @@ # build-system installShellFiles, - flit-core, + wheel, + setuptools, # docs sphinx, @@ -31,14 +32,14 @@ let self = buildPythonPackage rec { pname = "pip"; - version = "25.3"; - pyproject = true; + version = "25.0.1"; + format = "pyproject"; src = fetchFromGitHub { owner = "pypa"; repo = "pip"; tag = version; - hash = "sha256-aHV4j9OMLD6I6Fe6A04bE7xk6eS5CxeUEw4Psqj7xz0="; + hash = "sha256-V069rAL6U5KBnSc09LRCu0M7qQCH5NbMghVttlmIoRY="; }; postPatch = '' @@ -49,6 +50,8 @@ let nativeBuildInputs = [ installShellFiles + setuptools + wheel ] ++ lib.optionals (pythonAtLeast "3.11") [ # docs @@ -57,8 +60,6 @@ let sphinx-issues ]; - build-system = [ flit-core ]; - outputs = [ "out" ]