2019-06-16 20:59:06 +01:00
|
|
|
{ lib, fetchPypi, buildPythonPackage
|
2021-05-10 22:55:56 +01:00
|
|
|
, agate, openpyxl, xlrd, pytestCheckHook
|
2019-03-16 09:20:44 +00:00
|
|
|
}:
|
2017-05-03 05:10:26 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-03-16 09:20:44 +00:00
|
|
|
pname = "agate-excel";
|
|
|
|
version = "0.2.3";
|
2017-05-03 05:10:26 +01:00
|
|
|
|
2019-03-16 09:20:44 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "8f255ef2c87c436b7132049e1dd86c8e08bf82d8c773aea86f3069b461a17d52";
|
|
|
|
};
|
2017-05-03 05:10:26 +01:00
|
|
|
|
2019-03-16 09:20:44 +00:00
|
|
|
propagatedBuildInputs = [ agate openpyxl xlrd ];
|
2017-05-03 05:10:26 +01:00
|
|
|
|
2021-05-10 22:55:56 +01:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2017-05-03 05:10:26 +01:00
|
|
|
|
2021-05-10 22:55:56 +01:00
|
|
|
disabledTests = [
|
|
|
|
# See https://github.com/wireservice/agate-excel/issues/45
|
|
|
|
"test_ambiguous_date"
|
|
|
|
];
|
2019-03-16 09:20:44 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Adds read support for excel files to agate";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/wireservice/agate-excel";
|
2019-03-16 09:20:44 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ vrthra ];
|
|
|
|
};
|
2017-05-03 05:10:26 +01:00
|
|
|
}
|