Merge pull request #234021 from figsoda/inherited

treewide: use top-level fetchPypi instead of inheriting from the python package set
This commit is contained in:
Weijia Wang 2023-05-25 20:19:51 +03:00 committed by GitHub
commit 027259f359
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
};