saunafs: 4.6.0 -> 4.7.0 (#379649)
[NixPkgs.git] / pkgs / development / python-modules / pytubefix / default.nix
blobdb6bd6f1471dae529fe17d8aaebc63f276e457a1
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "pytubefix";
11   version = "8.12.0";
12   pyproject = true;
14   src = fetchFromGitHub {
15     owner = "JuanBindez";
16     repo = "pytubefix";
17     tag = "v${version}";
18     hash = "sha256-m27iuiQDk70yHHhmayp9558S8ZYLM0/sWyCfC4VvLsQ=";
19   };
21   build-system = [ setuptools ];
23   nativeCheckInputs = [ pytestCheckHook ];
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   ];
36   pythonImportsCheck = [ "pytubefix" ];
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   };