8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
37 lines
776 B
Nix
37 lines
776 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, httpx
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "youtube-search-python";
|
|
version = "1.6.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-zAza1XMKLIMZFFS0v/4ATqh6j7aEB2Y+eliE/hNPORw=";
|
|
};
|
|
|
|
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; [ marsam ];
|
|
};
|
|
}
|