Unverified Commit ba5ff85b authored by Moraxyc's avatar Moraxyc
Browse files

python3Packages.bilibili-api-python: 16.3.0 -> 17.1.2

parent 38c804df
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
  lxml,
  pillow,
  pycryptodomex,
  pyjwt,
  pyyaml,
  qrcode,
  qrcode-terminal,
@@ -22,20 +23,20 @@
}:
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 "~=" ">="
  '';
  pythonRelaxDeps = [
    "beautifulsoup4"
    "lxml"
  ];

  build-system = [
    setuptools-scm
@@ -57,6 +58,7 @@ buildPythonPackage rec {
    tqdm
    yarl
    pycryptodomex
    pyjwt
    qrcode-terminal
  ];