mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
multiqc: 1.28 -> 1.29
Polars is now a dependencies. Running it with nix in some configuration fails to remove temporary directories. Before skipping this step, it retries 10 times and doubles the waiting time each time. We set max retries to 2.
This commit is contained in:
parent
dcb247a583
commit
fd230b25b2
1 changed files with 12 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "multiqc";
|
pname = "multiqc";
|
||||||
version = "1.28";
|
version = "1.29";
|
||||||
|
|
||||||
# Two data sources. One for the code, another for the test data
|
# Two data sources. One for the code, another for the test data
|
||||||
srcs = [
|
srcs = [
|
||||||
|
@ -19,7 +19,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
owner = "MultiQC";
|
owner = "MultiQC";
|
||||||
repo = "MultiQC";
|
repo = "MultiQC";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-rYZaecoVAO1RE44XCw60aVwvWhKcZ/RrG3WpVRcLbuA=";
|
hash = "sha256-KKLdDNf889lEbCyNpJFZoE8rNO50CRzNP4hKpKHRAcE=";
|
||||||
})
|
})
|
||||||
(fetchFromGitHub {
|
(fetchFromGitHub {
|
||||||
owner = "MultiQC";
|
owner = "MultiQC";
|
||||||
|
@ -30,6 +30,15 @@ python3Packages.buildPythonApplication rec {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Multiqc cannot remove temporary directories in some case.
|
||||||
|
# Default is 10 retries, lower it to 2
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace multiqc/utils/util_functions.py \
|
||||||
|
--replace-fail \
|
||||||
|
"max_retries: int = 10," \
|
||||||
|
"max_retries: int = 2,"
|
||||||
|
'';
|
||||||
|
|
||||||
sourceRoot = "multiqc";
|
sourceRoot = "multiqc";
|
||||||
|
|
||||||
dependencies = with python3Packages; [
|
dependencies = with python3Packages; [
|
||||||
|
@ -43,6 +52,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
numpy
|
numpy
|
||||||
packaging
|
packaging
|
||||||
requests
|
requests
|
||||||
|
polars
|
||||||
pillow
|
pillow
|
||||||
plotly
|
plotly
|
||||||
pyyaml
|
pyyaml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue