diff --git a/pkgs/development/python-modules/types-deprecated/default.nix b/pkgs/development/python-modules/types-deprecated/default.nix index b9d6243a8657..2752f60a592c 100644 --- a/pkgs/development/python-modules/types-deprecated/default.nix +++ b/pkgs/development/python-modules/types-deprecated/default.nix @@ -5,17 +5,23 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "types-deprecated"; - version = "1.3.1.20251101"; + version = "1.3.1.20260520"; pyproject = true; src = fetchPypi { pname = "types_deprecated"; - inherit version; - hash = "sha256-8ALSZrcyAfRuxvxxLB8BYGfsbLRDV1Wc21DIawEJUac="; + inherit (finalAttrs) version; + hash = "sha256-TQ2eVSFDLZzogWn7i3k7RdcNjozBp+zVpEZau/g8mrQ="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "setuptools>=82.0.1" "setuptools" \ + --replace-fail "'deprecated-stubs' =" "'*' =" + ''; + build-system = [ setuptools ]; # Modules has no tests @@ -29,4 +35,4 @@ buildPythonPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})