From 02660f220ba8fb478c0a8f4f8b533dbeb5606adb Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 26 Nov 2024 13:19:47 +0100 Subject: [PATCH] python312Packages.prettytable: 3.11.0 -> 3.12.0 Diff: https://github.com/jazzband/prettytable/compare/refs/tags/3.11.0...3.12.0 Changelog: https://github.com/jazzband/prettytable/releases/tag/3.12.0 --- .../python-modules/prettytable/default.nix | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/prettytable/default.nix b/pkgs/development/python-modules/prettytable/default.nix index b5cecedd6388..c4ba297b6ecd 100644 --- a/pkgs/development/python-modules/prettytable/default.nix +++ b/pkgs/development/python-modules/prettytable/default.nix @@ -2,26 +2,31 @@ lib, buildPythonPackage, fetchFromGitHub, + + # build-system hatch-vcs, hatchling, + + # dependencies + wcwidth, + + # tests + coverage, + pytest-cov-stub, pytest-lazy-fixtures, pytestCheckHook, - pythonOlder, - wcwidth, }: buildPythonPackage rec { pname = "prettytable"; - version = "3.11.0"; + version = "3.12.0"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchFromGitHub { owner = "jazzband"; repo = "prettytable"; - rev = "refs/tags/${version}"; - hash = "sha256-LtphoD5gCMgWgDcFghinq9zjUD69XudEeGIToqqmVPs="; + tag = version; + hash = "sha256-RoBPmnuAOtTET898Gdm1zzPIst26GdCY5nU1PyJ+Nro="; }; build-system = [ @@ -32,17 +37,19 @@ buildPythonPackage rec { dependencies = [ wcwidth ]; nativeCheckInputs = [ + coverage + pytest-cov-stub pytest-lazy-fixtures pytestCheckHook ]; pythonImportsCheck = [ "prettytable" ]; - meta = with lib; { + meta = { 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; + license = lib.licenses.bsd3; maintainers = [ ]; }; }