Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 44 lines 961 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "pytubefix"; 11 version = "6.4.2"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "JuanBindez"; 16 repo = "pytubefix"; 17 rev = "refs/tags/v${version}"; 18 hash = "sha256-FbmVQ+nt/WEwE5vRMo2610TO463CT8nCseqB30uXjSM="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 disabledTestPaths = [ 26 # require network access 27 "tests/test_captions.py" 28 "tests/test_cli.py" 29 "tests/test_exceptions.py" 30 "tests/test_extract.py" 31 "tests/test_main.py" 32 "tests/test_query.py" 33 "tests/test_streams.py" 34 ]; 35 36 pythonImportsCheck = [ "pytubefix" ]; 37 38 meta = { 39 homepage = "https://github.com/JuanBindez/pytubefix"; 40 description = "Pytube fork with additional features and fixes"; 41 license = lib.licenses.mit; 42 maintainers = with lib.maintainers; [ youhaveme9 ]; 43 }; 44}