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 pythonImportsCheck = [ "agate" ];
19
20 meta = with lib; {
21 description = "Adds read support for excel files to agate";
22 homepage = "https://github.com/wireservice/agate-excel";
23 license = licenses.mit;
24 maintainers = with maintainers; [ vrthra ];
25 };
26}