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
|
, flake8-import-order
|
||||||
, pyflakes
|
, pyflakes
|
||||||
, mock
|
, mock
|
||||||
|
, setuptools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -23,12 +24,19 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pyflakes
|
pyflakes
|
||||||
flake8-import-order
|
flake8-import-order
|
||||||
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
mock
|
mock
|
||||||
];
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
runHook preInstallCheck
|
||||||
|
PYTHONPATH= $out/bin/zimports --help >/dev/null
|
||||||
|
runHook postInstallCheck
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python import rewriter";
|
description = "Python import rewriter";
|
||||||
homepage = "https://github.com/sqlalchemyorg/zimports";
|
homepage = "https://github.com/sqlalchemyorg/zimports";
|
||||||
|
Loading…
Reference in New Issue
Block a user