2018-10-29 07:24:44 -07:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, zope_schema
|
2020-10-13 16:27:10 -07:00
|
|
|
, zope_interface
|
2018-10-29 07:24:44 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zope.filerepresentation";
|
2020-06-05 23:47:38 -07:00
|
|
|
version = "5.0.0";
|
2018-10-29 07:24:44 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-13 16:27:10 -07:00
|
|
|
sha256 = "1mp2r80v6ns92j089l7ngh8l9fk95g2661vkp4vqw7c71irs9g1z";
|
2018-10-29 07:24:44 -07:00
|
|
|
};
|
|
|
|
|
2020-10-13 16:27:10 -07:00
|
|
|
propagatedBuildInputs = [ zope_interface zope_schema ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
cd src/zope/filerepresentation && python -m unittest
|
|
|
|
'';
|
2018-10-29 07:24:44 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://zopefilerepresentation.readthedocs.io/";
|
2018-10-29 07:24:44 -07:00
|
|
|
description = "File-system Representation Interfaces";
|
|
|
|
license = licenses.zpl20;
|
|
|
|
maintainers = with maintainers; [ goibhniu ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|