Merge pull request #328906 from NickCao/pytubefix
python312Packages.pytubefix: 5.7.0 -> 6.4.2
This commit is contained in:
commit
46195b1f19
@ -1,21 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools-scm,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytubefix";
|
||||
version = "5.7.0";
|
||||
format = "pyproject";
|
||||
version = "6.4.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-5VnJXQo/VjeGB9Kpazg/MHU8m4Kh/JVd43HXitpk0Mk=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "JuanBindez";
|
||||
repo = "pytubefix";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-FbmVQ+nt/WEwE5vRMo2610TO463CT8nCseqB30uXjSM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# require network access
|
||||
"tests/test_captions.py"
|
||||
"tests/test_cli.py"
|
||||
"tests/test_exceptions.py"
|
||||
"tests/test_extract.py"
|
||||
"tests/test_main.py"
|
||||
"tests/test_query.py"
|
||||
"tests/test_streams.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pytubefix" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user