1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, pytest
5}:
6
7buildPythonPackage rec {
8 pname = "xlrd";
9 version = "1.2.0";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "546eb36cee8db40c3eaa46c351e67ffee6eeb5fa2650b71bc4c758a29a1b29b2";
14 };
15
16 checkInputs = [ pytest ];
17
18 checkPhase = ''
19 py.test -k "not test_tilde_path_expansion"
20 '';
21
22 meta = with stdenv.lib; {
23 homepage = http://www.python-excel.org/;
24 description = "Library for developers to extract data from Microsoft Excel (tm) spreadsheet files";
25 license = licenses.bsd0;
26 };
27
28}