2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
pythonOlder,
|
|
|
|
fetchPypi,
|
|
|
|
httpx,
|
2022-03-30 09:31:56 +00:00
|
|
|
}:
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "youtube-search-python";
|
2022-06-26 10:26:21 +00:00
|
|
|
version = "1.6.6";
|
2022-03-30 09:31:56 +00:00
|
|
|
format = "setuptools";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-06-26 10:26:21 +00:00
|
|
|
hash = "sha256-RWjR12ns1+tLuDZfBO7G42TF9w7sezdl9UPa67E1/PU=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ httpx ];
|
2021-09-18 10:52:07 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "youtubesearchpython" ];
|
2021-09-18 10:52:07 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
# Project has no tests
|
2021-09-18 10:52:07 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2022-03-30 09:31:56 +00:00
|
|
|
description = "Search for YouTube videos, channels & playlists & get video information using link without YouTube Data API";
|
2021-09-18 10:52:07 +00:00
|
|
|
homepage = "https://github.com/alexmercerind/youtube-search-python";
|
|
|
|
license = licenses.mit;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
}
|