python3Packages.deprecated: pin to setuptools_80

This commit is contained in:
Martin Weinelt
2026-05-30 03:53:11 +02:00
parent 8ea0b4f255
commit 1434d0780e
@@ -3,13 +3,13 @@
fetchFromGitHub,
buildPythonPackage,
pythonAtLeast,
setuptools,
setuptools_80,
wrapt,
pytestCheckHook,
sphinxHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "deprecated";
version = "1.3.1";
pyproject = true;
@@ -22,15 +22,15 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "tantale";
repo = "deprecated";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-1mB9aRZOsaW7Mqcu1SWIYTusQ7MlMvUucdTyfu++Nx8=";
};
build-system = [ setuptools ];
build-system = [ setuptools_80 ];
nativeBuildInputs = [ sphinxHook ];
propagatedBuildInputs = [ wrapt ];
dependencies = [ wrapt ];
nativeCheckInputs = [ pytestCheckHook ];
@@ -43,9 +43,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "deprecated" ];
meta = {
changelog = "https://github.com/laurent-laporte-pro/deprecated/releases/tag/${finalAttrs.src.tag}";
homepage = "https://github.com/tantale/deprecated";
description = "Python @deprecated decorator to deprecate old python classes, functions or methods";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tilpner ];
};
}
})