mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
python37.pkgs.prettytable: Fix build
This commit is contained in:
parent
808d88971a
commit
c94913045f
@ -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 New Issue
Block a user