python3Packages.youtube_search: init at unstable-2021-02-27

This commit is contained in:
Johannes Arnold 2021-06-15 23:38:54 +02:00
parent 72cbd9ea14
commit d76b0940f0
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchFromGitHub, requests }:
buildPythonPackage rec {
pname = "youtube-search";
version = "unstable-2021-02-27";
src = fetchFromGitHub {
owner = "joetats";
repo = "youtube_search";
rev = "886fe1b16c829215ee0984b6859f874b4a30d875";
sha256 = "sha256-3ECJ6iHNzx5PLgpTFraFzAYbKnyMYRf/iJ0zajU+hlo=";
};
propagatedBuildInputs = [ requests ];
# Check disabled due to relative import with no known parent package
doCheck = false;
pythonImportsCheck = [ "youtube_search" ];
meta = with lib; {
description = "Tool for searching for youtube videos to avoid using their heavily rate-limited API";
homepage = "https://github.com/joetats/youtube_search";
license = licenses.mit;
maintainers = with maintainers; [ j0hax ];
};
}

View file

@ -9198,6 +9198,8 @@ in {
phantomjsSupport = false;
};
youtube-search = callPackage ../development/python-modules/youtube-search { };
yowsup = callPackage ../development/python-modules/yowsup { };
yq = callPackage ../development/python-modules/yq {