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

View File

@@ -1,7 +1,6 @@
{
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 = [