diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2020-11-29 14:33:52 -0800 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-12-01 14:44:24 +0100 |
commit | b59209334ae2eda4d2bf1848433e54dd14bdb8e3 (patch) | |
tree | 4439aa7d52d6a87c29d87cbafbb6623f8d3f4140 | |
parent | 72ee790f5d34a6b062d7ef9bedbe8476944718a2 (diff) |
python37Packages.prettytable: fix build
-rw-r--r-- | pkgs/development/python-modules/prettytable/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/prettytable/default.nix b/pkgs/development/python-modules/prettytable/default.nix index f098138491256..bc8bd3f835d6b 100644 --- a/pkgs/development/python-modules/prettytable/default.nix +++ b/pkgs/development/python-modules/prettytable/default.nix @@ -2,6 +2,8 @@ , buildPythonPackage , fetchPypi , glibcLocales +, setuptools_scm +, wcwidth }: buildPythonPackage rec { @@ -13,12 +15,19 @@ buildPythonPackage rec { sha256 = "e37acd91976fe6119172771520e58d1742c8479703489321dc1d9c85e7259922"; }; + nativeBuildInputs = [ setuptools_scm ]; buildInputs = [ glibcLocales ]; + propagatedBuildInputs = [ wcwidth ]; + preCheck = '' export LANG="en_US.UTF-8" ''; + # no test no longer available in pypi package + doCheck = false; + pythonImportsCheck = [ "prettytable" ]; + meta = with stdenv.lib; { description = "Simple Python library for easily displaying tabular data in a visually appealing ASCII table format"; homepage = "http://code.google.com/p/prettytable/"; |