evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pytubefix / default.nix
blob343bcca0a9654593daf38fffb43a40cf7ba45c19
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "pytubefix";
11   version = "6.4.2";
12   pyproject = true;
14   src = fetchFromGitHub {
15     owner = "JuanBindez";
16     repo = "pytubefix";
17     rev = "refs/tags/v${version}";
18     hash = "sha256-FbmVQ+nt/WEwE5vRMo2610TO463CT8nCseqB30uXjSM=";
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   };