Skip to content

Commit 36b284c

Browse files
authored
arelle: fix build, 2.37.61 -> 2.37.72 (NixOS#461978)
2 parents e4db643 + 5b903c6 commit 36b284c

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

pkgs/development/python-modules/arelle/default.nix

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
certifi,
1111
filelock,
1212
isodate,
13+
jaconv,
1314
jsonschema,
1415
lxml,
1516
numpy,
@@ -25,17 +26,17 @@
2526
tkinter,
2627

2728
aniso8601,
28-
pycryptodome,
29+
cheroot,
30+
graphviz,
31+
holidays,
32+
matplotlib,
2933
pg8000,
34+
pycryptodome,
3035
pymysql,
3136
pyodbc,
32-
rdflib,
33-
holidays,
3437
pytz,
38+
rdflib,
3539
tinycss2,
36-
graphviz,
37-
cheroot,
38-
cherrypy,
3940
tornado,
4041

4142
sphinxHook,
@@ -44,20 +45,21 @@
4445
sphinx-copybutton,
4546
furo,
4647

48+
writableTmpDirAsHomeHook,
4749
pytestCheckHook,
4850
boto3,
4951
}:
5052

5153
buildPythonPackage rec {
5254
pname = "arelle${lib.optionalString (!gui) "-headless"}";
53-
version = "2.37.61";
55+
version = "2.37.72";
5456
pyproject = true;
5557

5658
src = fetchFromGitHub {
5759
owner = "Arelle";
5860
repo = "Arelle";
5961
tag = version;
60-
hash = "sha256-xz3sDAgE1Qpml8V+2y+q/tTda6uGZuMnNSEGdIjLlzI=";
62+
hash = "sha256-wytYETzntY1sGHgXua/MOkceiNKjr5qddAGWPMJni98=";
6163
};
6264

6365
outputs = [
@@ -71,6 +73,10 @@ buildPythonPackage rec {
7173
'requires = ["setuptools", "wheel", "setuptools_scm[toml]"]'
7274
'';
7375

76+
pythonRelaxDeps = [
77+
"pillow" # pillow's current version is above what arelle officially supports, but it should be fine
78+
];
79+
7480
build-system = [
7581
setuptools
7682
setuptools-scm
@@ -81,6 +87,7 @@ buildPythonPackage rec {
8187
certifi
8288
filelock
8389
isodate
90+
jaconv
8491
jsonschema
8592
lxml
8693
numpy
@@ -103,14 +110,15 @@ buildPythonPackage rec {
103110
rdflib
104111
];
105112
efm = [
113+
aniso8601
106114
holidays
115+
matplotlib
107116
pytz
108117
];
109118
esef = [ tinycss2 ];
110119
objectmaker = [ graphviz ];
111120
webserver = [
112121
cheroot
113-
cherrypy
114122
tornado
115123
];
116124
xule = [ aniso8601 ];
@@ -131,15 +139,12 @@ buildPythonPackage rec {
131139
'';
132140

133141
nativeCheckInputs = [
142+
writableTmpDirAsHomeHook
134143
pytestCheckHook
135144
boto3
136145
]
137146
++ lib.flatten (lib.attrValues optional-dependencies);
138147

139-
preCheck = ''
140-
export HOME=$(mktemp -d)
141-
'';
142-
143148
disabledTestPaths = [
144149
"tests/integration_tests"
145150
]

0 commit comments

Comments
 (0)