2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
2024-07-31 10:19:44 +00:00
|
|
|
setuptools,
|
|
|
|
pytestCheckHook,
|
2024-06-05 15:53:02 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
pname = "ptable";
|
|
|
|
version = "unstable-2019-06-14";
|
2024-07-31 10:19:44 +00:00
|
|
|
pyproject = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# https://github.com/kxxoling/PTable/issues/27
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kxxoling";
|
|
|
|
repo = "PTable";
|
|
|
|
rev = "bcfdb92811ae1f39e1065f31544710bf87d3bc21";
|
|
|
|
sha256 = "1cj314rp6irlvr0a2c4xffsm2idsb0hzwr38vzz6z3kbhphcb63i";
|
|
|
|
};
|
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
build-system = [ setuptools ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/kxxoling/PTable";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Simple Python library designed to make it quick and easy to represent tabular data in visually appealing ASCII tables";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "ptable";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.mmahut ];
|
|
|
|
};
|
|
|
|
}
|