lol

python312Packages.niworkflows: 1.12.0 -> 1.12.2

Diff: https://github.com/nipreps/niworkflows/compare/refs/tags/1.12.0...1.12.2

Changelog: https://github.com/nipreps/niworkflows/blob/1.12.2/CHANGES.rst

+33 -13
+33 -13
pkgs/development/python-modules/niworkflows/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 + 6 + # build-system 5 7 hatch-vcs, 6 8 hatchling, 7 - pytestCheckHook, 9 + 10 + # dependencies 11 + acres, 8 12 attrs, 9 13 importlib-resources, 10 14 jinja2, ··· 26 30 templateflow, 27 31 traits, 28 32 transforms3d, 33 + 34 + # tests 35 + pytest-cov-stub, 36 + pytest-env, 37 + pytestCheckHook, 38 + writableTmpDirAsHomeHook, 29 39 }: 30 40 31 41 buildPythonPackage rec { 32 42 pname = "niworkflows"; 33 - version = "1.12.0"; 43 + version = "1.12.2"; 34 44 pyproject = true; 35 45 36 46 src = fetchFromGitHub { 37 47 owner = "nipreps"; 38 48 repo = "niworkflows"; 39 49 tag = version; 40 - hash = "sha256-OWsfz5YDPy1qPpXomr4YiuCDf40Fy1pW8cNHPjHfqp4="; 50 + hash = "sha256-rgnfp12SHlL3LFFMSrHlTd0tWNnA4ekxZ9kKYRvZWlw="; 41 51 }; 42 52 43 53 pythonRelaxDeps = [ "traits" ]; ··· 48 58 ]; 49 59 50 60 dependencies = [ 61 + acres 51 62 attrs 52 63 importlib-resources 53 64 jinja2 ··· 73 84 74 85 env.SETUPTOOLS_SCM_PRETEND_VERSION = version; 75 86 76 - nativeCheckInputs = [ pytestCheckHook ]; 77 - preCheck = ''export HOME=$(mktemp -d)''; 87 + nativeCheckInputs = [ 88 + pytest-cov-stub 89 + pytest-env 90 + pytestCheckHook 91 + writableTmpDirAsHomeHook 92 + ]; 93 + 78 94 pytestFlagsArray = [ "niworkflows" ]; 79 - # try to download data: 95 + 80 96 disabledTests = [ 81 - "test_GenerateCifti" 97 + # try to download data: 82 98 "ROIsPlot" 83 99 "ROIsPlot2" 100 + "niworkflows.interfaces.cifti._prepare_cifti" 101 + "niworkflows.utils.misc.get_template_specs" 102 + "test_GenerateCifti" 84 103 "test_SimpleShowMaskRPT" 85 104 "test_cifti_surfaces_plot" 86 - "niworkflows.utils.misc.get_template_specs" 87 - "niworkflows.interfaces.cifti._prepare_cifti" 105 + ]; 106 + 107 + disabledTestPaths = [ 108 + "niworkflows/tests/test_registration.py" 88 109 ]; 89 - disabledTestPaths = [ "niworkflows/tests/test_registration.py" ]; 90 110 91 111 pythonImportsCheck = [ "niworkflows" ]; 92 112 93 - meta = with lib; { 113 + meta = { 94 114 description = "Common workflows for MRI (anatomical, functional, diffusion, etc.)"; 95 115 mainProgram = "niworkflows-boldref"; 96 116 homepage = "https://github.com/nipreps/niworkflows"; 97 117 changelog = "https://github.com/nipreps/niworkflows/blob/${src.tag}/CHANGES.rst"; 98 - license = licenses.asl20; 99 - maintainers = with maintainers; [ bcdarwin ]; 118 + license = lib.licenses.asl20; 119 + maintainers = with lib.maintainers; [ bcdarwin ]; 100 120 }; 101 121 }