python3.pkgs.zimports: add missing setuptools (#90026)
Co-authored-by: Jon <jonringer@users.noreply.github.com>
This commit is contained in:
parent
b5dc9f6ba7
commit
db7e2b484b
|
@ -5,6 +5,7 @@
|
|||
, flake8-import-order
|
||||
, pyflakes
|
||||
, mock
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -23,12 +24,19 @@ buildPythonPackage rec {
|
|||
propagatedBuildInputs = [
|
||||
pyflakes
|
||||
flake8-import-order
|
||||
setuptools
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preInstallCheck
|
||||
PYTHONPATH= $out/bin/zimports --help >/dev/null
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python import rewriter";
|
||||
homepage = "https://github.com/sqlalchemyorg/zimports";
|
||||
|
|
Loading…
Reference in a new issue