From c320fe642e4d0b0b7ae1ba74d560f5afe05eed22 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 1 Sep 2023 14:33:30 +0200 Subject: [PATCH] python311Packages.prettytable: 3.5.0 -> 3.8.0 Diff: jazzband/prettytable@refs/tags/3.5.0...3.8.0 Changelog: https://github.com/jazzband/prettytable/releases/tag/3.8.0 --- .../python-modules/prettytable/default.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/prettytable/default.nix b/pkgs/development/python-modules/prettytable/default.nix index 149556c125e5..b0efbcb373d4 100644 --- a/pkgs/development/python-modules/prettytable/default.nix +++ b/pkgs/development/python-modules/prettytable/default.nix @@ -1,27 +1,26 @@ { lib , buildPythonPackage , fetchFromGitHub -, pythonOlder , hatch-vcs , hatchling -, wcwidth -, importlib-metadata , pytest-lazy-fixture , pytestCheckHook +, pythonOlder +, wcwidth }: buildPythonPackage rec { pname = "prettytable"; - version = "3.5.0"; + version = "3.8.0"; format = "pyproject"; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "jazzband"; repo = "prettytable"; rev = "refs/tags/${version}"; - hash= "sha256-J6oWNug2MEkUZSi67mM5H/Nf4tdSTB/ku34plp1XWCM="; + hash= "sha256-JnxUjUosQJgprIbA9szSfw1Fi21Qc4WljoRAQv4x5YM="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; @@ -33,8 +32,6 @@ buildPythonPackage rec { propagatedBuildInputs = [ wcwidth - ] ++ lib.optionals (pythonOlder "3.8") [ - importlib-metadata ]; nativeCheckInputs = [ @@ -47,9 +44,9 @@ buildPythonPackage rec { ]; meta = with lib; { - changelog = "https://github.com/jazzband/prettytable/releases/tag/${version}"; description = "Display tabular data in a visually appealing ASCII table format"; homepage = "https://github.com/jazzband/prettytable"; + changelog = "https://github.com/jazzband/prettytable/releases/tag/${version}"; license = licenses.bsd3; maintainers = with maintainers; [ ]; };