nixpkgs/pkgs/development/python-modules/tablib/default.nix
Martin Weinelt 72203cc178 python3Packages.tablib: 3.8.0 -> 3.9.0
https://github.com/jazzband/tablib/raw/v3.9.0/HISTORY.md

This commit was automatically generated using update-python-libraries.
2026-02-01 17:39:02 +01:00

75 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
markuppy,
odfpy,
openpyxl,
pandas,
pytestCheckHook,
pytest-cov-stub,
pyyaml,
setuptools-scm,
tabulate,
unicodecsv,
xlrd,
xlwt,
}:
buildPythonPackage rec {
pname = "tablib";
version = "3.9.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-G2q9jtsPNWAeBMYWHXlmD9zeSrtKVPZsyfkFS9VdX+I=";
};
nativeBuildInputs = [ setuptools-scm ];
optional-dependencies = {
all = [
markuppy
odfpy
openpyxl
pandas
pyyaml
tabulate
xlrd
xlwt
];
cli = [ tabulate ];
html = [ markuppy ];
ods = [ odfpy ];
pandas = [ pandas ];
xls = [
xlrd
xlwt
];
xlsx = [ openpyxl ];
yaml = [ pyyaml ];
};
nativeCheckInputs = [
pandas
pytestCheckHook
pytest-cov-stub
unicodecsv
];
disabledTestPaths = [
# test_tablib needs MarkupPy, which isn't packaged yet
"tests/test_tablib.py"
];
pythonImportsCheck = [ "tablib" ];
meta = {
description = "Format-agnostic tabular dataset library";
homepage = "https://tablib.readthedocs.io/";
changelog = "https://github.com/jazzband/tablib/raw/v${version}/HISTORY.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}