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
This commit is contained in:
Fabian Affolter 2023-09-01 14:33:30 +02:00
parent b32ca859eb
commit c320fe642e

View file

@ -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; [ ];
};