Unverified Commit 30291c83 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #251813 from fabaff/prettytable-bump

python311Packages.prettytable: 3.5.0 -> 3.8.0
parents 9870f334 c320fe64
Loading
Loading
Loading
Loading
+6 −9
Original line number Diff line number Diff line
{ 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; [ ];
  };