Files
nixpkgs/pkgs/development/python-modules/python-youtube/default.nix
Wolfgang Walther c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00

56 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
dataclasses-json,
isodate,
requests,
requests-oauthlib,
pytest-cov-stub,
pytestCheckHook,
responses,
}:
buildPythonPackage rec {
pname = "python-youtube";
version = "0.9.8";
pyproject = true;
src = fetchFromGitHub {
owner = "sns-sdks";
repo = "python-youtube";
tag = "v${version}";
hash = "sha256-8Ozfga6gPLzPG770hluAgxIYI2TEX5uAe6BeMzIp+z4=";
};
pythonRelaxDeps = [
"requests-oauthlib"
];
build-system = [ poetry-core ];
dependencies = [
dataclasses-json
isodate
requests
requests-oauthlib
];
pythonImportsCheck = [ "pyyoutube" ];
nativeCheckInputs = [
pytestCheckHook
responses
pytest-cov-stub
];
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.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}