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