diff --git a/pkgs/development/python-modules/zope-filerepresentation/default.nix b/pkgs/development/python-modules/zope-filerepresentation/default.nix index c4ab3f139014..bd5fcb23d63e 100644 --- a/pkgs/development/python-modules/zope-filerepresentation/default.nix +++ b/pkgs/development/python-modules/zope-filerepresentation/default.nix @@ -1,7 +1,7 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, setuptools, zope-schema, zope-interface, @@ -10,15 +10,21 @@ buildPythonPackage rec { pname = "zope-filerepresentation"; - version = "6.0"; + version = "6.1"; pyproject = true; - src = fetchPypi { - pname = "zope.filerepresentation"; - inherit version; - hash = "sha256-yza3iGspJ2+C8WhfPykfQjXmac2HhdFHQtRl0Trvaqs="; + src = fetchFromGitHub { + owner = "zopefoundation"; + repo = "zope.filerepresentation"; + tag = version; + hash = "sha256-6J4munk2yyZ6e9rpU2Op+Gbf0OXGI6GpHjmpUZVRjsY="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "setuptools <= 75.6.0" setuptools + ''; + build-system = [ setuptools ]; dependencies = [