Merge pull request #122756 from knedlsepp/fix-prettytable
python37.pkgs.prettytable: Fix build
This commit is contained in:
commit
a7ecbfd6d0
1 changed files with 7 additions and 1 deletions
|
@ -4,6 +4,8 @@
|
|||
, glibcLocales
|
||||
, setuptools_scm
|
||||
, wcwidth
|
||||
, importlib-metadata
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -18,7 +20,11 @@ buildPythonPackage rec {
|
|||
nativeBuildInputs = [ setuptools_scm ];
|
||||
buildInputs = [ glibcLocales ];
|
||||
|
||||
propagatedBuildInputs = [ wcwidth ];
|
||||
propagatedBuildInputs = [
|
||||
wcwidth
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export LANG="en_US.UTF-8"
|
||||
|
|
Loading…
Reference in a new issue