@@ -0,0 +1,37 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, pyexcel-io
5+, xlrd
6+, xlwt
7+, nose
8+}:
9+
10+buildPythonPackage rec {
11+ pname = "pyexcel-xls";
12+ version = "0.5.8";
13+
14+ src = fetchPypi {
15+ inherit pname version;
16+ sha256 = "LTPrS9ja37jHO1zMaiONZbORTomnVTsfObk5exfL5AI=";
17+ };
18+
19+ propagatedBuildInputs = [
20+ pyexcel-io
21+ xlrd
22+ xlwt
23+ ];
24+
25+ # Tests are not included in the archive.
26+ # https://github.com/pyexcel/pyexcel-xls/issues/35
27+ doCheck = false;
28+
29+ pythonImportsCheck = [ "pyexcel_xls" ];
30+
31+ meta = {
32+ description = "A wrapper library to read, manipulate and write data in xls using xlrd and xlwt";
33+ homepage = "http://docs.pyexcel.org/";
34+ license = lib.licenses.bsd3;
35+ maintainers = with lib.maintainers; [ jtojnar ];
36+ };
37+}