fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
34 lines
764 B
Nix
34 lines
764 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchPypi,
|
|
httpx,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "youtube-search-python";
|
|
version = "1.6.6";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-RWjR12ns1+tLuDZfBO7G42TF9w7sezdl9UPa67E1/PU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ httpx ];
|
|
|
|
pythonImportsCheck = [ "youtubesearchpython" ];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Search for YouTube videos, channels & playlists & get video information using link without YouTube Data API";
|
|
homepage = "https://github.com/alexmercerind/youtube-search-python";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|