2020-09-25 04:45:31 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-10-19 00:13:06 +00:00
|
|
|
, isPy3k
|
2021-12-06 16:07:01 +00:00
|
|
|
, chardet
|
2020-09-25 04:45:31 +00:00
|
|
|
, lml
|
|
|
|
, pyexcel-io
|
|
|
|
, texttable
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyexcel";
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "0.7.0";
|
2020-10-19 00:13:06 +00:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-+/Du5dk7ls728ZqfAHA/IsCmTxlyjZG5VCgAmlISlwk=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-12-06 16:07:01 +00:00
|
|
|
chardet
|
2020-09-25 04:45:31 +00:00
|
|
|
lml
|
|
|
|
pyexcel-io
|
|
|
|
texttable
|
|
|
|
];
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"pyexcel"
|
2020-09-25 04:45:31 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Tests depend on pyexcel-xls & co. causing circular dependency.
|
|
|
|
# https://github.com/pyexcel/pyexcel/blob/dev/tests/requirements.txt
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Single API for reading, manipulating and writing data in csv, ods, xls, xlsx and xlsm files";
|
|
|
|
homepage = "http://docs.pyexcel.org/";
|
|
|
|
license = lib.licenses.bsd3;
|
2023-05-24 13:37:59 +00:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
}
|