summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkgs/development/python-modules/beautifultable/default.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/beautifultable/default.nix b/pkgs/development/python-modules/beautifultable/default.nix
index b0fa5a3fffef..e222a8cdd9c4 100644
--- a/pkgs/development/python-modules/beautifultable/default.nix
+++ b/pkgs/development/python-modules/beautifultable/default.nix
@@ -3,17 +3,21 @@
, fetchFromGitHub
, wcwidth
, pytestCheckHook
+, pythonOlder
}:
buildPythonPackage rec {
pname = "beautifultable";
version = "1.1.0";
+ format = "setuptools";
+
+ disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pri22296";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-/SReCEvSwiNjBoz/3tGJ9zUNBAag4mLsHlUXwm47zCw=";
+ hash = "sha256-/SReCEvSwiNjBoz/3tGJ9zUNBAag4mLsHlUXwm47zCw=";
};
propagatedBuildInputs = [
@@ -24,9 +28,13 @@ buildPythonPackage rec {
pytestCheckHook
];
- pytestFlagsArray = [ "test.py" ];
+ pytestFlagsArray = [
+ "test.py"
+ ];
- pythonImportsCheck = [ "beautifultable" ];
+ pythonImportsCheck = [
+ "beautifultable"
+ ];
meta = with lib; {
description = "Python package for printing visually appealing tables";