From 541fe51a5125ebd61db8099d24561854be0de821 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 23 Jan 2016 19:00:09 +0100 Subject: [PATCH] pythonPackages.bottleneck: fix test runner --- pkgs/top-level/python-packages.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4423e1a1db89..c8bbafd884fc 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13952,7 +13952,12 @@ in modules // { url = "https://pypi.python.org/packages/source/B/Bottleneck/Bottleneck-${version}.tar.gz"; sha256 = "15dl0ll5xmfzj2fsvajzwxsb9dbw5i9fx9i4r6n4i5nzzba7m6wd"; }; + + buildInputs = with self; [ nose ]; propagatedBuildInputs = [self.numpy]; + checkPhase = '' + nosetests -v $out/${python.sitePackages} + ''; }; paho-mqtt = buildPythonPackage rec {