From 74d875206a825007e27abaa7c590f4c1db35ad31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Roche?= Date: Wed, 14 Oct 2020 01:27:10 +0200 Subject: [PATCH] zope_filerepresentation: fix test --- .../python-modules/zope_filerepresentation/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zope_filerepresentation/default.nix b/pkgs/development/python-modules/zope_filerepresentation/default.nix index 82a981402eb..635727a1173 100644 --- a/pkgs/development/python-modules/zope_filerepresentation/default.nix +++ b/pkgs/development/python-modules/zope_filerepresentation/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchPypi , zope_schema +, zope_interface }: buildPythonPackage rec { @@ -10,10 +11,14 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - sha256 = "3fbca4730c871d8e37b9730763c42b69ba44117cf6d0848014495bb301cae2d6"; + sha256 = "1mp2r80v6ns92j089l7ngh8l9fk95g2661vkp4vqw7c71irs9g1z"; }; - propagatedBuildInputs = [ zope_schema ]; + propagatedBuildInputs = [ zope_interface zope_schema ]; + + checkPhase = '' + cd src/zope/filerepresentation && python -m unittest + ''; meta = with stdenv.lib; { homepage = "https://zopefilerepresentation.readthedocs.io/";