From 570dbab97567ce49e64f2cfdfc27fde781e28b71 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Wed, 9 Sep 2020 00:41:46 +0100 Subject: [PATCH] pythonPackages.jug: fix tests these seem to have switched to pytest tests in 2.0.2 --- pkgs/development/python-modules/jug/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/jug/default.nix b/pkgs/development/python-modules/jug/default.nix index 9b71a1515ad..d55a5fad44b 100644 --- a/pkgs/development/python-modules/jug/default.nix +++ b/pkgs/development/python-modules/jug/default.nix @@ -1,7 +1,8 @@ { stdenv, buildPythonPackage, fetchPypi, fetchpatch , nose, numpy , bottle, pyyaml, redis, six -, zlib }: +, zlib +, pytestCheckHook }: buildPythonPackage rec { pname = "Jug"; @@ -21,6 +22,9 @@ buildPythonPackage rec { sha256 = "859a4b4cb26a0010299b189c92cfba626852c97a38e22f3d1b56e4e1d8ad8620"; }; + checkInputs = [ pytestCheckHook ]; + pythonImportsCheck = [ "jug" ]; + meta = with stdenv.lib; { description = "A Task-Based Parallelization Framework"; license = licenses.mit;