python3Packages.deprecated: pin to setuptools_80
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user