2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-10-25 20:46:36 -04:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-02-14 08:37:33 +01:00
|
|
|
, pytest
|
2018-10-25 20:46:36 -04:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "xlrd";
|
2021-03-24 10:28:32 +01:00
|
|
|
version = "2.0.1";
|
2018-10-25 20:46:36 -04:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 10:28:32 +01:00
|
|
|
sha256 = "f72f148f54442c6b056bf931dbc34f986fd0c3b0b6b5a58d013c9aef274d0c88";
|
2018-10-25 20:46:36 -04:00
|
|
|
};
|
|
|
|
|
2019-02-14 08:37:33 +01:00
|
|
|
checkInputs = [ pytest ];
|
2018-10-25 20:46:36 -04:00
|
|
|
|
|
|
|
checkPhase = ''
|
2019-02-14 08:37:33 +01:00
|
|
|
py.test -k "not test_tilde_path_expansion"
|
2018-10-25 20:46:36 -04:00
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "http://www.python-excel.org/";
|
2018-10-25 20:46:36 -04:00
|
|
|
description = "Library for developers to extract data from Microsoft Excel (tm) spreadsheet files";
|
|
|
|
license = licenses.bsd0;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|