1{ lib 2, buildPythonPackage 3, fetchPypi 4, pyexcel-io 5, xlrd 6, xlwt 7, nose 8, pyexcel 9, mock 10}: 11 12buildPythonPackage rec { 13 pname = "pyexcel-xls"; 14 version = "0.7.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "5ec606ef8667aafbb0c3fbd8242a7c23bf175ee7c10b08f70799b84fb2db84cb"; 19 }; 20 21 propagatedBuildInputs = [ 22 pyexcel-io 23 xlrd 24 xlwt 25 ]; 26 27 nativeCheckInputs = [ 28 nose 29 pyexcel 30 mock 31 ]; 32 33 postPatch = '' 34 substituteInPlace setup.py --replace "xlrd<2" "xlrd<3" 35 ''; 36 37 checkPhase = "nosetests --exclude test_issue_151"; 38 39 meta = { 40 description = "A wrapper library to read, manipulate and write data in xls using xlrd and xlwt"; 41 homepage = "http://docs.pyexcel.org/"; 42 license = lib.licenses.bsd3; 43 maintainers = with lib.maintainers; [ ]; 44 }; 45}