python3Packages.youtubeaio: 2.0.0 -> 2.1.0
Diff: https://github.com/joostlek/python-youtube/compare/v2.0.0...v2.1.0 Changelog: https://github.com/joostlek/python-youtube/releases/tag/v2.1.0
This commit is contained in:
@@ -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 = [
|
||||||
|
|||||||
Reference in New Issue
Block a user