2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-29 14:24:44 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, zope_schema
|
2020-10-14 00:27:10 +01:00
|
|
|
, zope_interface
|
2018-10-29 14:24:44 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zope.filerepresentation";
|
2020-06-06 07:47:38 +01:00
|
|
|
version = "5.0.0";
|
2018-10-29 14:24:44 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-14 00:27:10 +01:00
|
|
|
sha256 = "1mp2r80v6ns92j089l7ngh8l9fk95g2661vkp4vqw7c71irs9g1z";
|
2018-10-29 14:24:44 +00:00
|
|
|
};
|
|
|
|
|
2020-10-14 00:27:10 +01:00
|
|
|
propagatedBuildInputs = [ zope_interface zope_schema ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
cd src/zope/filerepresentation && python -m unittest
|
|
|
|
'';
|
2018-10-29 14:24:44 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://zopefilerepresentation.readthedocs.io/";
|
2018-10-29 14:24:44 +00:00
|
|
|
description = "File-system Representation Interfaces";
|
|
|
|
license = licenses.zpl20;
|
|
|
|
maintainers = with maintainers; [ goibhniu ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|