From b2a996d2314b5756dd39e01779708ea2f2e7f6f7 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Tue, 29 Oct 2024 07:00:04 -0700 Subject: [PATCH] python312Packages.bilibili-api-python: fix 16.3.0 build The published tar.gz name changed from using hyphens to underscores (likely because of change in setuptools 72.2.0). At the same time, I noticed that the CHANGELOG removes requests as a dependency, so I've done the same here. --- .../python-modules/bilibili-api-python/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/bilibili-api-python/default.nix b/pkgs/development/python-modules/bilibili-api-python/default.nix index db63bdb44780b..0d6cfd6f3bf34 100644 --- a/pkgs/development/python-modules/bilibili-api-python/default.nix +++ b/pkgs/development/python-modules/bilibili-api-python/default.nix @@ -14,7 +14,6 @@ pyyaml, qrcode, qrcode-terminal, - requests, rsa, setuptools, setuptools-scm, @@ -27,7 +26,8 @@ buildPythonPackage rec { pyproject = true; src = fetchPypi { - inherit pname version; + pname = "bilibili_api_python"; + inherit version; hash = "sha256-mwhyFc3b1qA7W76gaBcAup+Wca6gQAdRwZJaZXOHqCw="; }; @@ -51,7 +51,6 @@ buildPythonPackage rec { brotli httpx qrcode - requests apscheduler rsa pillow