Skip to content

Commit

Permalink
python313Packages.youtube-transcript-api: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Feb 5, 2025
1 parent 3068216 commit 0a70cb2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions pkgs/development/python-modules/youtube-transcript-api/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
defusedxml,
requests,
mock,
httpretty,
Expand All @@ -12,7 +14,7 @@
buildPythonPackage rec {
pname = "youtube-transcript-api";
version = "0.6.3";
format = "setuptools";
pyproject = true;

disabled = pythonOlder "3.7";

Expand All @@ -23,7 +25,14 @@ buildPythonPackage rec {
hash = "sha256-ZoF9BOQLrq2GVCZ98I8C9qouUhwZKEPp0zlTAqyEoYk=";
};

propagatedBuildInputs = [ requests ];
build-system = [ poetry-core ];

pythonRelaxDeps = [ "defusedxml" ];

dependencies = [
defusedxml
requests
];

nativeCheckInputs = [
mock
Expand Down

0 comments on commit 0a70cb2

Please sign in to comment.