diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2021-08-28 00:04:20 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2021-08-28 00:04:20 +0000 |
commit | 87e41eca9c2408d692538db323b5f0ed0fdec842 (patch) | |
tree | 7af4922bcfe5264b884ac886c1bd737cda7b88bb /pkgs/development/python-modules/youtube-search-python | |
parent | e71c6fa33ef981b060bfebba3de3337f15798ab1 (diff) |
python39Packages.youtube-search-python: init at 1.4.7
Diffstat (limited to 'pkgs/development/python-modules/youtube-search-python')
-rw-r--r-- | pkgs/development/python-modules/youtube-search-python/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/youtube-search-python/default.nix b/pkgs/development/python-modules/youtube-search-python/default.nix new file mode 100644 index 0000000000000..818baf6b36f93 --- /dev/null +++ b/pkgs/development/python-modules/youtube-search-python/default.nix @@ -0,0 +1,27 @@ +{ lib, buildPythonPackage, pythonOlder, fetchPypi, httpx }: + +buildPythonPackage rec { + pname = "youtube-search-python"; + version = "1.4.7"; + + disabled = pythonOlder "3.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "7f93d9ecfd9b965dc93782d8174b1c1888f8900e2a303254037ba34e1d0ebed4"; + }; + + 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 ]; + }; +} |