From 0a9e7a5fe82c4cf363a223f22fc7ce3364ef78a6 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 24 Jan 2016 12:45:04 +0100 Subject: [PATCH] pythonPackages.jupyter_core: add test runner, disable tests --- pkgs/top-level/python-packages.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8e0b9ac0fb0..c727be0292c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10213,7 +10213,15 @@ in modules // { sha256 = "96a68a3b1d018ff7776270b26b7cb0cfd7a18a53ef2061421daff435707d198c"; }; - propagatedBuildInputs = with self; [traitlets]; + buildInputs = with self; [ pytest mock ]; + propagatedBuildInputs = with self; [ ipython traitlets]; + + checkPhase = '' + py.test + ''; + + # Several tests fail due to being in a chroot + doCheck = false; meta = { description = "Jupyter core package. A base package on which Jupyter projects rely";