zope_filerepresentation: fix test
This commit is contained in:
parent
a1466db042
commit
74d875206a
|
@ -2,6 +2,7 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, zope_schema
|
, zope_schema
|
||||||
|
, zope_interface
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -10,10 +11,14 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
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; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://zopefilerepresentation.readthedocs.io/";
|
homepage = "https://zopefilerepresentation.readthedocs.io/";
|
||||||
|
|
Loading…
Reference in a new issue