python312Packages.bilibili-api-python: 16.3.0 -> 17.1.2 (#382721)
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
lxml,
|
||||
pillow,
|
||||
pycryptodomex,
|
||||
pyjwt,
|
||||
pyyaml,
|
||||
qrcode,
|
||||
qrcode-terminal,
|
||||
@@ -19,23 +20,24 @@
|
||||
setuptools-scm,
|
||||
tqdm,
|
||||
yarl,
|
||||
nix-update-script,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "bilibili-api-python";
|
||||
version = "16.3.0";
|
||||
version = "17.1.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "bilibili_api_python";
|
||||
inherit version;
|
||||
hash = "sha256-mwhyFc3b1qA7W76gaBcAup+Wca6gQAdRwZJaZXOHqCw=";
|
||||
hash = "sha256-pZrn78/uIlivT+OSlNyrbO6vuxBgeigfdZ9AScOM1Ak=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# The upstream uses requirements.txt, which overly strict version constraints.
|
||||
substituteInPlace requirements.txt \
|
||||
--replace-fail "~=" ">="
|
||||
'';
|
||||
# The upstream uses requirements.txt, which overly strict version constraints.
|
||||
pythonRelaxDeps = [
|
||||
"beautifulsoup4"
|
||||
"lxml"
|
||||
];
|
||||
|
||||
build-system = [
|
||||
setuptools-scm
|
||||
@@ -57,6 +59,7 @@ buildPythonPackage rec {
|
||||
tqdm
|
||||
yarl
|
||||
pycryptodomex
|
||||
pyjwt
|
||||
qrcode-terminal
|
||||
];
|
||||
|
||||
@@ -65,6 +68,8 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "bilibili_api" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/Nemo2011/bilibili-api/releases/tag/${version}";
|
||||
description = "Python module providing convenient integration for various Bilibili API along with some additional common features";
|
||||
|
||||
Reference in New Issue
Block a user