arelle: fix build

This commit is contained in:
Frederik Rietdijk 2019-02-17 12:07:40 +01:00
parent a88c739b58
commit afa743cd47
2 changed files with 8 additions and 5 deletions

View File

@ -23,9 +23,8 @@ buildPythonPackage rec {
./tests.patch ./tests.patch
]; ];
postPatch = "rm testParser2.py"; postPatch = "rm testParser2.py";
buildInputs = [ nativeBuildInputs = [
sphinx sphinx
pytest
py3to2 py3to2
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -33,7 +32,7 @@ buildPythonPackage rec {
isodate isodate
numpy numpy
openpyxl openpyxl
] ++ lib.optional gui [ ] ++ lib.optionals gui [
tkinter tkinter
]; ];
@ -53,7 +52,11 @@ buildPythonPackage rec {
(cd apidocs && make html && cp -r _build $doc) (cd apidocs && make html && cp -r _build $doc)
''; '';
doCheck = if gui then true else false; doCheck = false;
checkPhase = ''
py.test
'';
meta = with lib; { meta = with lib; {
description = '' description = ''

View File

@ -16064,7 +16064,7 @@ in
inherit (vamp) vampSDK; inherit (vamp) vampSDK;
}; };
inherit (python3Packages) arelle; arelle = with python3Packages; toPythonApplication arelle;
argo = callPackage ../applications/networking/cluster/argo { }; argo = callPackage ../applications/networking/cluster/argo { };