2020-08-27 16:33:58 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pyexcel-io
|
|
|
|
, xlrd
|
|
|
|
, xlwt
|
|
|
|
, nose
|
2020-08-30 00:13:18 +01:00
|
|
|
, pyexcel
|
|
|
|
, mock
|
2020-08-27 16:33:58 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyexcel-xls";
|
2021-02-20 09:09:13 +00:00
|
|
|
version = "0.6.2";
|
2020-08-27 16:33:58 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 09:09:13 +00:00
|
|
|
sha256 = "2fbf66e8df88051eaaa9745be433903d18db819ddd3a987c992ead1d68b7feb5";
|
2020-08-27 16:33:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyexcel-io
|
|
|
|
xlrd
|
|
|
|
xlwt
|
|
|
|
];
|
|
|
|
|
2020-08-30 00:13:18 +01:00
|
|
|
checkInputs = [
|
|
|
|
nose
|
|
|
|
pyexcel
|
|
|
|
mock
|
|
|
|
];
|
2020-08-27 16:33:58 +01:00
|
|
|
|
2020-08-30 00:13:18 +01:00
|
|
|
checkPhase = "nosetests";
|
2020-08-27 16:33:58 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A wrapper library to read, manipulate and write data in xls using xlrd and xlwt";
|
|
|
|
homepage = "http://docs.pyexcel.org/";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ jtojnar ];
|
|
|
|
};
|
|
|
|
}
|