Something went wrong. Try again.
lol
Something went wrong. Try again.
2.2 kB · 129 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130{ lib, stdenv, buildPythonPackage, fetchPypi,
# build-system hatchling, hatch-vcs,
# python dependencies acres, click, python-dateutil, etelemetry, filelock, looseversion, lxml, networkx, nibabel, numpy, packaging, prov, puremagic, pybids, pydot, pytestCheckHook, pytest-xdist, pytest-cov-stub, rdflib, scipy, simplejson, traits,
# optional-dependencies datalad, duecredit, pandas, paramiko, psutil, sphinx, xvfbwrapper,
# other dependencies which, bash, glibcLocales,}:
buildPythonPackage rec { pname = "nipype"; version = "1.11.0"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-ZwfsTDz44Zg673+O6nlifue3q0qklkmZFVDhKcFlt6c="; };
postPatch = '' substituteInPlace nipype/interfaces/base/tests/test_core.py \ --replace-fail "/usr/bin/env bash" "${bash}/bin/bash" substituteInPlace nipype/pipeline/engine/tests/test_nodes.py \ --replace-fail "/bin/bash" "${bash}/bin/bash" '';
build-system = [ hatchling hatch-vcs ];
dependencies = [ acres click etelemetry filelock looseversion lxml networkx nibabel numpy packaging prov puremagic pydot python-dateutil rdflib scipy simplejson traits ];
passthru.optional-dependencies = { data = [ datalad ]; duecredit = [ duecredit ]; profiler = [ psutil ]; pybids = [ pybids ]; ssh = [ paramiko ]; xvfbwrapper = [ xvfbwrapper ]; };
nativeCheckInputs = [ glibcLocales pandas pytestCheckHook pytest-cov-stub pytest-xdist sphinx which ];
# checks on darwin inspect memory which doesn't work in build environment doCheck = !stdenv.hostPlatform.isDarwin;
pythonImportsCheck = [ "nipype" "nipype.algorithms" "nipype.interfaces" ];
meta = { homepage = "https://nipy.org/nipype"; description = "Neuroimaging in Python: Pipelines and Interfaces"; changelog = "https://github.com/nipy/nipype/releases/tag/${version}"; mainProgram = "nipypecli"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ ashgillman ]; };}