1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 isPy3k,
6 chardet,
7 lml,
8 pyexcel-io,
9 texttable,
10}:
11
12buildPythonPackage rec {
13 pname = "pyexcel";
14 version = "0.7.3";
15 format = "setuptools";
16
17 disabled = !isPy3k;
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-V7PD+1XdCaYsu/Kunx54qhG2J8K/xgcv8tlYfAIrBtQ=";
22 };
23
24 propagatedBuildInputs = [
25 chardet
26 lml
27 pyexcel-io
28 texttable
29 ];
30
31 pythonImportsCheck = [ "pyexcel" ];
32
33 # Tests depend on pyexcel-xls & co. causing circular dependency.
34 # https://github.com/pyexcel/pyexcel/blob/dev/tests/requirements.txt
35 doCheck = false;
36
37 meta = {
38 description = "Single API for reading, manipulating and writing data in csv, ods, xls, xlsx and xlsm files";
39 homepage = "http://docs.pyexcel.org/";
40 license = lib.licenses.bsd3;
41 maintainers = [ ];
42 };
43}