14 buildPythonPackage rec {
19 disabled = pythonOlder "3.6";
21 src = fetchFromGitHub {
24 rev = "refs/tags/${version}";
25 hash = "sha256-M46d8qiR3+ioiuRhzIaU5bV1dnfDm819pjn78RYlcG0=";
28 build-system = [ setuptools ];
37 nativeCheckInputs = [ unittestCheckHook ];
40 rm -r medpy/ # prevent importing from build directory at test time
41 rm -r tests/graphcut_ # SIGILL at test time
44 pythonImportsCheck = [
56 description = "Medical image processing library";
57 homepage = "https://loli.github.io/medpy";
58 changelog = "https://github.com/loli/medpy/releases/tag/${version}";
59 license = licenses.gpl3Plus;
60 maintainers = with maintainers; [ bcdarwin ];