From fe1859a022e4ef384ae7ed2ba8a3a403c65ac979 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 1 Apr 2025 07:15:02 +0200 Subject: [PATCH] python3Packages.zope-contenttype: 5.1 -> 5.2 https://github.com/zopefoundation/zope.contenttype/blob/5.2/CHANGES.rst This commit was automatically generated using update-python-libraries. --- .../zope-contenttype/default.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/zope-contenttype/default.nix b/pkgs/development/python-modules/zope-contenttype/default.nix index 18222ae51f89..f53485b5462a 100644 --- a/pkgs/development/python-modules/zope-contenttype/default.nix +++ b/pkgs/development/python-modules/zope-contenttype/default.nix @@ -1,22 +1,28 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, setuptools, pytestCheckHook, }: buildPythonPackage rec { pname = "zope-contenttype"; - version = "5.1"; + version = "5.2"; pyproject = true; - src = fetchPypi { - pname = "zope.contenttype"; - inherit version; - hash = "sha256-AAHvG2XKZQUZBW3OUwxY0LOWlXzPBQIyPIoVSdtk0xc="; + src = fetchFromGitHub { + owner = "zopefoundation"; + repo = "zope.contenttype"; + tag = version; + hash = "sha256-mY6LlJn44hUfXpxEa99U6FNcsV9xJbR5w/iIS6hG+m4="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "setuptools <= 75.6.0" setuptools + ''; + build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ];