1{ lib, buildPythonPackage, pythonOlder, fetchPypi, httpx }:
2
3buildPythonPackage rec {
4 pname = "youtube-search-python";
5 version = "1.5.1";
6
7 disabled = pythonOlder "3.6";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "68c70e1b6a2ce5c2c0ee64ba9c63efc9ab6e6f8acb2f51e19d570b0287e61cc9";
12 };
13
14 propagatedBuildInputs = [ httpx ];
15
16 pythonImportsCheck = [ "youtubesearchpython" ];
17
18 # project has no tests
19 doCheck = false;
20
21 meta = with lib; {
22 description = "Search for YouTube videos, channels & playlists & get video information using link WITHOUT YouTube Data API v3";
23 homepage = "https://github.com/alexmercerind/youtube-search-python";
24 license = licenses.mit;
25 maintainers = [ maintainers.marsam ];
26 };
27}