python2Packages.prettytable: remove

This commit is contained in:
Robert Schütz 2022-12-03 16:45:07 -08:00
parent c99c95f795
commit 53013ae601
2 changed files with 0 additions and 39 deletions

View File

@ -1,37 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, glibcLocales
, setuptools-scm
, wcwidth
}:
buildPythonPackage rec {
pname = "prettytable";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "0wcpp1nkicrswb353yn6xd2x535cpif62nw5rgz33c1wj0wzbdvb";
};
nativeBuildInputs = [ setuptools-scm ];
buildInputs = [ glibcLocales ];
propagatedBuildInputs = [ wcwidth ];
preCheck = ''
export LANG="en_US.UTF-8"
'';
# no test no longer available in pypi package
doCheck = false;
pythonImportsCheck = [ "prettytable" ];
meta = with lib; {
description = "Simple Python library for easily displaying tabular data in a visually appealing ASCII table format";
homepage = "http://code.google.com/p/prettytable/";
license = licenses.bsd3;
};
}

View File

@ -72,8 +72,6 @@ with self; with super; {
pluggy = callPackage ../development/python2-modules/pluggy { };
prettytable = callPackage ../development/python2-modules/prettytable { };
protobuf = callPackage ../development/python2-modules/protobuf {
disabled = isPyPy;
protobuf = pkgs.protobuf3_17; # last version compatible with Python 2