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

31 lines
662 B
Nix
Raw Normal View History

{ lib, stdenv
, buildPythonPackage
, fetchPypi
, zope_schema
2020-10-14 00:27:10 +01:00
, zope_interface
}:
buildPythonPackage rec {
pname = "zope.filerepresentation";
version = "5.0.0";
src = fetchPypi {
inherit pname version;
2020-10-14 00:27:10 +01:00
sha256 = "1mp2r80v6ns92j089l7ngh8l9fk95g2661vkp4vqw7c71irs9g1z";
};
2020-10-14 00:27:10 +01:00
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 ];
};
}