Robert Schütz
2025-11-14 19:10:21 -08:00
parent 825bfc2364
commit 661af4d58c

View File

@@ -1,7 +1,6 @@
{ {
lib, lib,
buildPythonPackage, buildPythonPackage,
pythonOlder,
fetchFromGitHub, fetchFromGitHub,
poetry-core, poetry-core,
aiohttp, aiohttp,
@@ -16,18 +15,21 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "youtubeaio"; pname = "youtubeaio";
version = "2.0.0"; version = "2.1.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "joostlek"; owner = "joostlek";
repo = "python-youtube"; repo = "python-youtube";
tag = "v${version}"; 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 ]; build-system = [ poetry-core ];
dependencies = [ dependencies = [