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