nixpkgs/pkgs/development/python-modules/zope_filerepresentation/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

31 lines
649 B
Nix

{ 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 ];
};
}