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