1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6}:
7
8buildPythonPackage rec {
9 pname = "xlrd";
10 version = "2.0.2";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "sha256-CLXiXeWPIc5x3H2zs7gQbB+ndvMCTFTkW0WzdOiSNMk=";
16 };
17
18 nativeCheckInputs = [ pytestCheckHook ];
19
20 # No tests in archive
21 doCheck = false;
22
23 meta = with lib; {
24 homepage = "https://www.python-excel.org/";
25 description = "Library for developers to extract data from Microsoft Excel (tm) spreadsheet files";
26 mainProgram = "runxlrd.py";
27 license = licenses.bsd0;
28 };
29}