python37Packages.pep8-naming: add missing importlib-metadata dep

This commit is contained in:
Jonathan Ringer 2020-06-08 12:31:29 -07:00 committed by Frederik Rietdijk
parent e3174f06fb
commit f25b128071

View File

@ -1,5 +1,7 @@
{ lib, fetchPypi, buildPythonPackage
, flake8-polyfill }:
{ lib, fetchPypi, buildPythonPackage, pythonOlder
, flake8-polyfill
, importlib-metadata
}:
buildPythonPackage rec {
pname = "pep8-naming";
@ -12,6 +14,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [
flake8-polyfill
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
meta = with lib; {