Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
tikisri authored Oct 25, 2024
1 parent 6fe2b3d commit 0857fd7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkgs/development/python-modules/pytubefix/default.nix
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
{
lib,
buildPythonPackage,
python3,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:

buildPythonPackage rec {
python3.pkgs.buildPythonPackage rec {
pname = "pytubefix";
version = "6.4.2";
version = "8.0.0";
pyproject = true;

src = fetchFromGitHub {
owner = "JuanBindez";
repo = "pytubefix";
rev = "refs/tags/v${version}";
hash = "sha256-FbmVQ+nt/WEwE5vRMo2610TO463CT8nCseqB30uXjSM=";
hash = "sha256-jZHSvOB0kCeiguLmYDjXcMbMqLWCOO/5+spV5p6Hl3I=";
};

build-system = [ setuptools ];
build-system = with python3.pkgs; [ setuptools ];

nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];

disabledTestPaths = [
# require network access
"tests/test_captions.py"
"tests/test_cli.py"
"tests/test_cipher.py"
"tests/test_exceptions.py"
"tests/test_extract.py"
"tests/test_main.py"
"tests/test_query.py"
"tests/test_streams.py"
"tests/contrib/test_playlist.py"
];

pythonImportsCheck = [ "pytubefix" ];
Expand Down

0 comments on commit 0857fd7

Please sign in to comment.