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