81047829ea
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
27 lines
734 B
Nix
27 lines
734 B
Nix
{ lib, buildPythonPackage, pythonOlder, fetchPypi, httpx }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "youtube-search-python";
|
|
version = "1.6.2";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-PeWi1eygUSgUXZ68bUJ44IoffNDme06JNR9ns6njqMU=";
|
|
};
|
|
|
|
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 v3";
|
|
homepage = "https://github.com/alexmercerind/youtube-search-python";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.marsam ];
|
|
};
|
|
}
|