From 2927f1a8832159fb25238e2ad5ef8e202bb96935 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Fri, 28 Aug 2015 16:24:08 +0200 Subject: [PATCH] nibabel: remove failing test One of the tests explicitly calls python, which will fail with python3. The issue has been reported upstream, https://github.com/nipy/nibabel/issues/341 For now, remove the test. Fix also the license type. --- pkgs/top-level/python-packages.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d992d5fef6a..0c690dc0ad3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8406,11 +8406,17 @@ let nose modules.sqlite3 ]; + + # Test does not work on Py3k because it calls 'python'. + # https://github.com/nipy/nibabel/issues/341 + preCheck = '' + rm nisext/tests/test_testers.py + ''; meta = { homepage = http://nipy.org/nibabel/; description = "Access a multitude of neuroimaging data formats"; - license = "BSD"; + license = licenses.mit; }; };