2020-08-27 17:33:58 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pyexcel-io,
|
|
|
|
xlrd,
|
|
|
|
xlwt,
|
|
|
|
nose,
|
2020-08-30 01:13:18 +02:00
|
|
|
pyexcel,
|
|
|
|
mock,
|
2020-08-27 17:33:58 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyexcel-xls";
|
2021-10-08 12:10:23 +00:00
|
|
|
version = "0.7.0";
|
2023-12-07 16:53:02 +13:00
|
|
|
format = "setuptools";
|
2020-08-27 17:33:58 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-08 12:10:23 +00:00
|
|
|
sha256 = "5ec606ef8667aafbb0c3fbd8242a7c23bf175ee7c10b08f70799b84fb2db84cb";
|
2020-08-27 17:33:58 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyexcel-io
|
|
|
|
xlrd
|
|
|
|
xlwt
|
|
|
|
];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2020-08-30 01:13:18 +02:00
|
|
|
nose
|
|
|
|
pyexcel
|
|
|
|
mock
|
|
|
|
];
|
2020-08-27 17:33:58 +02:00
|
|
|
|
2021-05-09 14:42:02 +07:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace setup.py --replace "xlrd<2" "xlrd<3"
|
|
|
|
'';
|
|
|
|
|
|
|
|
checkPhase = "nosetests --exclude test_issue_151";
|
2020-08-27 17:33:58 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Wrapper library to read, manipulate and write data in xls using xlrd and xlwt";
|
|
|
|
homepage = "http://docs.pyexcel.org/";
|
|
|
|
license = lib.licenses.bsd3;
|
2023-01-31 15:21:37 +01:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2020-08-27 17:33:58 +02:00
|
|
|
};
|
|
|
|
}
|