Unverified Commit 047b035a authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.youtubeaio: 2.0.0 -> 2.1.0 (#461801)

parents 490c4c30 661af4d5
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  pythonOlder,
  fetchFromGitHub,
  poetry-core,
  aiohttp,
@@ -16,18 +15,21 @@

buildPythonPackage rec {
  pname = "youtubeaio";
  version = "2.0.0";
  version = "2.1.0";
  pyproject = true;

  disabled = pythonOlder "3.11";

  src = fetchFromGitHub {
    owner = "joostlek";
    repo = "python-youtube";
    tag = "v${version}";
    hash = "sha256-lpmqQXizfFJXgGcKWhFqS4XMML12CFlB40k2ixdszCM=";
    hash = "sha256-qN2HV30Ds/FUOUG84cbtOgu2wVGeBRbwfYeXiP554g8=";
  };

  postPatch = ''
    substituteInPlace tests/__snapshots__/test_video.ambr \
      --replace-fail "TzInfo(0)" "TzInfo(UTC)"
  '';

  build-system = [ poetry-core ];

  dependencies = [