treewide: use top-level fetchPypi instead of inheriting from the python package set

This commit is contained in:
figsoda 2023-05-25 12:18:37 -04:00
parent 6e6f778fe3
commit aa500fcfda
4 changed files with 4 additions and 6 deletions

View file

@ -1,7 +1,7 @@
{ lib, python3 }:
{ lib, python3, fetchPypi }:
let
inherit (python3.pkgs) buildPythonApplication fetchPypi requests;
inherit (python3.pkgs) buildPythonApplication requests;
in
buildPythonApplication rec {
pname = "tzupdate";

View file

@ -1,11 +1,11 @@
{ lib
, python3
, fetchPypi
}:
let
inherit (python3.pkgs)
buildPythonApplication
fetchPypi
pythonOlder;
in
buildPythonApplication rec {

View file

@ -1904,7 +1904,6 @@ with pkgs;
git-annex-remote-dbx = callPackage ../applications/version-management/git-annex-remote-dbx {
inherit (python3Packages)
buildPythonApplication
fetchPypi
dropbox
annexremote
humanfriendly;
@ -1913,7 +1912,6 @@ with pkgs;
git-annex-remote-googledrive = callPackage ../applications/version-management/git-annex-remote-googledrive {
inherit (python3Packages)
buildPythonApplication
fetchPypi
annexremote
drivelib
gitpython

View file

@ -6082,7 +6082,7 @@ self: super: with self; {
maya = callPackage ../development/python-modules/maya { };
mayavi = pkgs.libsForQt5.callPackage ../development/python-modules/mayavi {
inherit buildPythonPackage pythonOlder fetchPypi;
inherit buildPythonPackage pythonOlder;
inherit (self) pyface pygments numpy packaging vtk traitsui envisage apptools pyqt5;
};