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

31 lines
649 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 ];
};
}