python3Packages.pytablewriter: init at 0.64.2

This commit is contained in:
GenericNerdyUsername 2023-01-26 19:26:34 +00:00
parent ce6fde7abd
commit 14f7b52785
No known key found for this signature in database
GPG Key ID: 65BA194581245B15
2 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,57 @@
{ buildPythonPackage
, fetchFromGitHub
, lib
, dataproperty
, mbstrdecoder
, pathvalidate
, setuptools
, tabledata
, tcolorpy
, typepy
, pytestCheckHook
, pyyaml
, toml
, elasticsearch
, dominate
}:
buildPythonPackage rec {
pname = "pytablewriter";
version = "0.64.2";
src = fetchFromGitHub {
owner = "thombashi";
repo = pname;
rev = "v${version}";
hash = "sha256-+IOHnmdd9g3SoHyITJJtbJ0/SAAmwWmwX5XeqsO34EM=";
};
propagatedBuildInputs = [
dataproperty
mbstrdecoder
pathvalidate
tabledata
tcolorpy
typepy
];
checkInputs = [ pyyaml toml elasticsearch dominate ];
nativeCheckInputs = [ pytestCheckHook ];
# Circular dependency
disabledTests = [
"test_normal_from_file"
"test_normal_from_text"
"test_normal_clear_theme"
];
disabledTestPaths = [
"test/writer/binary/test_excel_writer.py"
"test/writer/binary/test_sqlite_writer.py"
];
meta = with lib; {
homepage = "https://github.com/thombashi/pytablewriter";
description = "A library to write a table in various formats";
maintainers = with maintainers; [ genericnerdyusername ];
license = licenses.mit;
};
}

View File

@ -8941,6 +8941,8 @@ self: super: with self; {
pytabix = callPackage ../development/python-modules/pytabix { };
pytablewriter = callPackage ../development/python-modules/pytablewriter { };
pytado = callPackage ../development/python-modules/pytado { };
pytaglib = callPackage ../development/python-modules/pytaglib { };