2019-03-16 10:20:44 +01:00
|
|
|
{ lib, fetchPypi, fetchpatch, buildPythonPackage
|
|
|
|
, agate, openpyxl, xlrd, nose
|
|
|
|
}:
|
2017-05-03 06:10:26 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-03-16 10:20:44 +01:00
|
|
|
pname = "agate-excel";
|
|
|
|
version = "0.2.3";
|
2017-05-03 06:10:26 +02:00
|
|
|
|
2019-03-16 10:20:44 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "8f255ef2c87c436b7132049e1dd86c8e08bf82d8c773aea86f3069b461a17d52";
|
|
|
|
};
|
2017-05-03 06:10:26 +02:00
|
|
|
|
2019-03-16 10:20:44 +01:00
|
|
|
propagatedBuildInputs = [ agate openpyxl xlrd ];
|
2017-05-03 06:10:26 +02:00
|
|
|
|
2019-03-16 10:20:44 +01:00
|
|
|
checkInputs = [ nose ];
|
2017-05-03 06:10:26 +02:00
|
|
|
|
2019-03-16 10:20:44 +01:00
|
|
|
checkPhase = ''
|
|
|
|
nosetests
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Adds read support for excel files to agate";
|
|
|
|
homepage = https://github.com/wireservice/agate-excel;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ vrthra ];
|
|
|
|
};
|
2017-05-03 06:10:26 +02:00
|
|
|
}
|