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";
|
2020-10-25 10:06:55 +01:00
|
|
|
version = "0.6.1";
|
2020-08-27 17:33:58 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-25 10:06:55 +01:00
|
|
|
sha256 = "c4cc1fb4ac5d1682a44d9a368a43ec2e089ad6fc46884648ccfad46863e3da0a";
|
2020-08-27 17:33:58 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyexcel-io
|
|
|
|
xlrd
|
|
|
|
xlwt
|
|
|
|
];
|
|
|
|
|
2020-08-30 01:13:18 +02:00
|
|
|
checkInputs = [
|
|
|
|
nose
|
|
|
|
pyexcel
|
|
|
|
mock
|
|
|
|
];
|
2020-08-27 17:33:58 +02:00
|
|
|
|
2020-08-30 01:13:18 +02:00
|
|
|
checkPhase = "nosetests";
|
2020-08-27 17:33:58 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|