1{ lib, fetchPypi, buildPythonPackage
2, agate, openpyxl, xlrd, olefile, pytestCheckHook
3}:
4
5buildPythonPackage rec {
6 pname = "agate-excel";
7 version = "0.2.5";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "62315708433108772f7f610ca769996b468a4ead380076dbaf6ffe262831b153";
12 };
13
14 propagatedBuildInputs = [ agate openpyxl xlrd olefile ];
15
16 checkInputs = [ pytestCheckHook ];
17
18 disabledTests = [
19 # See https://github.com/wireservice/agate-excel/issues/45
20 "test_ambiguous_date"
21 ];
22
23 meta = with lib; {
24 description = "Adds read support for excel files to agate";
25 homepage = "https://github.com/wireservice/agate-excel";
26 license = licenses.mit;
27 maintainers = with maintainers; [ vrthra ];
28 };
29}