diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-05-23 00:08:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-23 00:08:15 +0200 |
commit | 7c00f54ab65b4b1984b11513ba62c5d051c7757c (patch) | |
tree | f0d11bd742251b0e6c3e92b482a8f56bf0304a3d /pkgs | |
parent | eb8c029c9c7c61c4ea3c7b1ee0b6d45b1ad9e282 (diff) |
python310Packages.beautifultable: disable on older Python releases
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/beautifultable/default.nix | 14 |
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"; |