mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
python3Packages.pytablewriter: init at 0.64.2
This commit is contained in:
parent
ce6fde7abd
commit
14f7b52785
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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user