Skip to content

Commit

Permalink
python312Packages.python-youtube: 0.9.6 -> 0.9.7 (#367003)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Dec 23, 2024
2 parents fc40bee + c35d8bd commit 9d902f4
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions pkgs/development/python-modules/python-youtube/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,30 @@
isodate,
requests,
requests-oauthlib,
pytest-cov-stub,
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=";
};

postPatch = ''
substituteInPlace pytest.ini \
--replace "--cov=pyyoutube" "" \
--replace "--cov-report xml" ""
'';
pythonRelaxDeps = [
"requests-oauthlib"
];

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

propagatedBuildInputs = [
dependencies = [
dataclasses-json
isodate
requests
Expand All @@ -42,13 +42,14 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
responses
pytest-cov-stub
];

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 ];
changelog = "https://github.com/sns-sdks/python-youtube/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ blaggacao ];
};
}

0 comments on commit 9d902f4

Please sign in to comment.