Skip to content

Commit

Permalink
python312Packages.python-youtube: 0.9.6 -> 0.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Bot-wxt1221 committed Dec 21, 2024
1 parent 3f00369 commit 3611a61
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions pkgs/development/python-modules/python-youtube/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,32 @@
pytestCheckHook,
responses,
}:

buildPythonPackage rec {
pname = "python-youtube";
version = "0.9.6";
format = "pyproject";
version = "0.9.7";
pyproject = true;

src = fetchFromGitHub {
owner = "sns-sdks";
repo = "python-youtube";
rev = "refs/tags/v${version}";
hash = "sha256-IuVnXVe54D0g+7S+AuTGtBlwcmxHpkk1e9Vt8laEV2c=";
tag = "v${version}";
hash = "sha256-dK0le/7/hpavrHbk4DaXoIxPHUUJuWuxHIWMZKC4eSM=";
};

pythonRelaxDeps = [
"requests-oauthlib"
];

postPatch = ''
substituteInPlace pytest.ini \
--replace "--cov=pyyoutube" "" \
--replace "--cov-report xml" ""
'';

nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];

propagatedBuildInputs = [
dependencies = [
dataclasses-json
isodate
requests
Expand All @@ -44,11 +49,11 @@ buildPythonPackage rec {
responses
];

meta = with lib; {
meta = {
description = "Simple Python wrapper around for YouTube Data API";
homepage = "https://github.com/sns-sdks/python-youtube";
changelog = "https://github.com/sns-sdks/python-youtube/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ blaggacao ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ blaggacao ];
};
}

0 comments on commit 3611a61

Please sign in to comment.