python3Packages.pytablewriter: init at 0.64.2
This commit is contained in:
57
pkgs/development/python-modules/pytablewriter/default.nix
Normal file
57
pkgs/development/python-modules/pytablewriter/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -8944,6 +8944,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
pytabix = callPackage ../development/python-modules/pytabix { };
|
pytabix = callPackage ../development/python-modules/pytabix { };
|
||||||
|
|
||||||
|
pytablewriter = callPackage ../development/python-modules/pytablewriter { };
|
||||||
|
|
||||||
pytado = callPackage ../development/python-modules/pytado { };
|
pytado = callPackage ../development/python-modules/pytado { };
|
||||||
|
|
||||||
pytaglib = callPackage ../development/python-modules/pytaglib { };
|
pytaglib = callPackage ../development/python-modules/pytaglib { };
|
||||||
|
|||||||
Reference in New Issue
Block a user