multiqc: 1.29 -> 1.30 (#433130)

authored by Peder Bergebakken Sundt and committed by GitHub 2cb26015 b1625a5a

+43 -28
+43 -28
pkgs/by-name/mu/multiqc/package.nix
··· 8 addBinToPathHook, 9 }: 10 11 - let 12 - test-data = fetchFromGitHub { 13 - name = "test-data"; 14 - owner = "MultiQC"; 15 - repo = "test-data"; 16 - rev = "d775b73c106d48726653f2fd02e473b7acbd93d8"; 17 - hash = "sha256-uxBpMx22gWJmnbF9tVuVIdYdiqUh7n51swzu5hnfZQ0="; 18 - }; 19 - in 20 python3Packages.buildPythonApplication rec { 21 pname = "multiqc"; 22 - version = "1.29"; 23 pyproject = true; 24 25 - src = fetchFromGitHub { 26 - name = "multiqc"; 27 - owner = "MultiQC"; 28 - repo = "MultiQC"; 29 - tag = "v${version}"; 30 - hash = "sha256-KKLdDNf889lEbCyNpJFZoE8rNO50CRzNP4hKpKHRAcE="; 31 - }; 32 33 # Multiqc cannot remove temporary directories in some case. 34 # Default is 10 retries, lower it to 2 ··· 37 --replace-fail \ 38 "max_retries: int = 10," \ 39 "max_retries: int = 2," 40 ''; 41 42 - build-system = with python3Packages; [ setuptools ]; 43 44 dependencies = with python3Packages; [ 45 boto3 ··· 49 jinja2 50 kaleido 51 markdown 52 numpy 53 packaging 54 requests 55 pillow 56 plotly 57 pyyaml 58 rich 59 rich-click 60 coloredlogs 61 spectra 62 pydantic 63 typeguard 64 tqdm 65 python-dotenv 66 - natsort 67 - tiktoken 68 jsonschema 69 - polars 70 - pyarrow 71 ]; 72 73 optional-dependencies = { ··· 89 ]; 90 }; 91 92 preCheck = '' 93 - ln -s ${test-data} ./test-data 94 ''; 95 96 nativeCheckInputs = 97 - (with python3Packages; [ 98 pytest-xdist 99 pytestCheckHook 100 - ]) 101 - ++ [ 102 - addBinToPathHook # Some tests run subprocess.run() with "multiqc" 103 - procps # Some tests run subprocess.run() with "ps" 104 versionCheckHook 105 ]; 106 107 versionCheckProgramArg = "--version";
··· 8 addBinToPathHook, 9 }: 10 11 python3Packages.buildPythonApplication rec { 12 pname = "multiqc"; 13 + version = "1.30"; 14 pyproject = true; 15 16 + # Two data sources. One for the code, another for the test data 17 + srcs = [ 18 + (fetchFromGitHub { 19 + name = "multiqc"; 20 + owner = "MultiQC"; 21 + repo = "MultiQC"; 22 + tag = "v${version}"; 23 + hash = "sha256-TR5YFoWj97gpsykIzc1lqtYVePsVLRIT0HXw+VPJ7o4="; 24 + }) 25 + (fetchFromGitHub { 26 + owner = "MultiQC"; 27 + repo = "test-data"; 28 + rev = "cc9f853e7892eb537e91505e0e847ff63669138d"; 29 + hash = "sha256-/MiNnPayG6wpF2S09ENYTlEBF7Km4aH1RjdGOfMgZcA="; 30 + name = "test-data"; 31 + }) 32 + ]; 33 34 # Multiqc cannot remove temporary directories in some case. 35 # Default is 10 retries, lower it to 2 ··· 38 --replace-fail \ 39 "max_retries: int = 10," \ 40 "max_retries: int = 2," 41 + substituteInPlace pyproject.toml \ 42 + --replace 'polars-lts-cpu' 'polars' 43 ''; 44 45 + sourceRoot = "multiqc"; 46 + 47 + nativeBuildInputs = with python3Packages; [ 48 + setuptools 49 + wheel 50 + ]; 51 52 dependencies = with python3Packages; [ 53 boto3 ··· 57 jinja2 58 kaleido 59 markdown 60 + natsort 61 numpy 62 packaging 63 requests 64 + polars 65 pillow 66 plotly 67 + pyarrow 68 pyyaml 69 rich 70 rich-click 71 coloredlogs 72 spectra 73 pydantic 74 + tiktoken 75 typeguard 76 tqdm 77 python-dotenv 78 jsonschema 79 ]; 80 81 optional-dependencies = { ··· 97 ]; 98 }; 99 100 + # Some tests run subprocess.run() with "multiqc" 101 preCheck = '' 102 + chmod -R u+w ../test-data 103 + ln -s ../test-data . 104 ''; 105 106 + # Some tests run subprocess.run() with "ps" 107 nativeCheckInputs = 108 + with python3Packages; 109 + [ 110 + pytest-cov-stub 111 pytest-xdist 112 pytestCheckHook 113 + syrupy 114 + pygithub 115 versionCheckHook 116 + ] 117 + ++ [ 118 + procps 119 + addBinToPathHook 120 ]; 121 122 versionCheckProgramArg = "--version";