python3.pkgs.zimports: add missing setuptools (#90026)

Co-authored-by: Jon <jonringer@users.noreply.github.com>
This commit is contained in:
Jörg Thalheim 2020-06-21 20:06:39 +01:00 committed by GitHub
parent b5dc9f6ba7
commit db7e2b484b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";