Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 45 lines 883 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, lml 6, pyexcel-io 7, texttable 8, nose 9}: 10 11buildPythonPackage rec { 12 pname = "pyexcel"; 13 version = "0.6.4"; 14 disabled = isPy27; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "pPNYnimHhW7SL6X6OLwagZoadTD7IdUSbO7vAqQPQu8="; 19 }; 20 21 propagatedBuildInputs = [ 22 lml 23 pyexcel-io 24 texttable 25 ]; 26 27 checkInputs = [ 28 nose 29 ]; 30 31 # Tests depend on pyexcel-xls & co. causing circular dependency. 32 # https://github.com/pyexcel/pyexcel/blob/dev/tests/requirements.txt 33 doCheck = false; 34 35 pythonImportsCheck = [ "pyexcel" ]; 36 37 checkPhase = "nosetests"; 38 39 meta = { 40 description = "Single API for reading, manipulating and writing data in csv, ods, xls, xlsx and xlsm files"; 41 homepage = "http://docs.pyexcel.org/"; 42 license = lib.licenses.bsd3; 43 maintainers = with lib.maintainers; [ jtojnar ]; 44 }; 45}