1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6}:
7
8buildPythonPackage rec {
9 pname = "xlrd";
10 version = "2.0.1";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "f72f148f54442c6b056bf931dbc34f986fd0c3b0b6b5a58d013c9aef274d0c88";
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}