python3Packages.agate-excel: fix build

This commit is contained in:
Robert T. McGibbon 2021-05-10 17:55:56 -04:00 committed by Jonathan Ringer
parent f741360901
commit b590df0f18

View file

@ -1,5 +1,5 @@
{ lib, fetchPypi, buildPythonPackage
, agate, openpyxl, xlrd, nose
, agate, openpyxl, xlrd, pytestCheckHook
}:
buildPythonPackage rec {
@ -13,11 +13,12 @@ buildPythonPackage rec {
propagatedBuildInputs = [ agate openpyxl xlrd ];
checkInputs = [ nose ];
checkInputs = [ pytestCheckHook ];
checkPhase = ''
nosetests
'';
disabledTests = [
# See https://github.com/wireservice/agate-excel/issues/45
"test_ambiguous_date"
];
meta = with lib; {
description = "Adds read support for excel files to agate";