1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy3k 5, chardet 6, lml 7, pyexcel-io 8, texttable 9}: 10 11buildPythonPackage rec { 12 pname = "pyexcel"; 13 version = "0.7.0"; 14 15 disabled = !isPy3k; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "sha256-+/Du5dk7ls728ZqfAHA/IsCmTxlyjZG5VCgAmlISlwk="; 20 }; 21 22 propagatedBuildInputs = [ 23 chardet 24 lml 25 pyexcel-io 26 texttable 27 ]; 28 29 pythonImportsCheck = [ 30 "pyexcel" 31 ]; 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 = with lib.maintainers; [ jtojnar ]; 42 }; 43}