From f7ff12db5f96b61c0ae3723dbc5278ca27db6a7d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 1 Apr 2025 07:13:41 +0200 Subject: [PATCH] python3Packages.deprecation-alias: 0.3.3 -> 0.4.0 This commit was automatically generated using update-python-libraries. --- .../python-modules/deprecation-alias/default.nix | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/deprecation-alias/default.nix b/pkgs/development/python-modules/deprecation-alias/default.nix index 0d97bb0b4413..1bb1c4cb41e1 100644 --- a/pkgs/development/python-modules/deprecation-alias/default.nix +++ b/pkgs/development/python-modules/deprecation-alias/default.nix @@ -2,32 +2,28 @@ buildPythonPackage, fetchPypi, lib, - setuptools, + hatch-requirements-txt, deprecation, packaging, }: buildPythonPackage rec { pname = "deprecation-alias"; - version = "0.3.3"; + version = "0.4.0"; pyproject = true; src = fetchPypi { - inherit pname version; - hash = "sha256-5zJm1MhmwEAHnXoEf5KsLNRotGCAMkht8f/X7xR+ZRU="; + pname = "deprecation_alias"; + inherit version; + hash = "sha256-pY0udEkceDTp0xh4jaYCcvovga64FLQFWkupCgpBdA8="; }; - build-system = [ setuptools ]; + build-system = [ hatch-requirements-txt ]; dependencies = [ deprecation packaging ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail '"setuptools!=61.*,<=67.1.0,>=40.6.0"' '"setuptools"' - ''; - meta = { description = "A wrapper around ‘deprecation’ providing support for deprecated aliases."; homepage = "https://github.com/domdfcoding/deprecation-alias";