depot/third_party/nixpkgs/pkgs/development/python-modules/zope-filerepresentation/default.nix

34 lines
665 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
zope-schema,
zope-interface,
}:
buildPythonPackage rec {
pname = "zope.filerepresentation";
version = "6.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-yza3iGspJ2+C8WhfPykfQjXmac2HhdFHQtRl0Trvaqs=";
};
propagatedBuildInputs = [
zope-interface
zope-schema
];
checkPhase = ''
cd src/zope/filerepresentation && python -m unittest
'';
meta = with lib; {
homepage = "https://zopefilerepresentation.readthedocs.io/";
description = "File-system Representation Interfaces";
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
}