diff --git a/pkgs/development/python-modules/django-cachalot/default.nix b/pkgs/development/python-modules/django-cachalot/default.nix index 4651937339c6..3b83eb8f6a16 100644 --- a/pkgs/development/python-modules/django-cachalot/default.nix +++ b/pkgs/development/python-modules/django-cachalot/default.nix @@ -5,6 +5,7 @@ django, django-debug-toolbar, psycopg2, + jinja2, beautifulsoup4, python, pytz, @@ -34,11 +35,20 @@ buildPythonPackage rec { beautifulsoup4 django-debug-toolbar psycopg2 + jinja2 pytz ]; pythonImportsCheck = [ "cachalot" ]; + # disable broken pinning test + preCheck = '' + substituteInPlace cachalot/tests/read.py \ + --replace-fail \ + "def test_explain(" \ + "def _test_explain(" + ''; + checkPhase = '' runHook preCheck ${python.interpreter} runtests.py