python3Packages.youtube_search: init at unstable-2021-02-27
This commit is contained in:
parent
72cbd9ea14
commit
d76b0940f0
26
pkgs/development/python-modules/youtube-search/default.nix
Normal file
26
pkgs/development/python-modules/youtube-search/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -9198,6 +9198,8 @@ in {
|
||||||
phantomjsSupport = false;
|
phantomjsSupport = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
youtube-search = callPackage ../development/python-modules/youtube-search { };
|
||||||
|
|
||||||
yowsup = callPackage ../development/python-modules/yowsup { };
|
yowsup = callPackage ../development/python-modules/yowsup { };
|
||||||
|
|
||||||
yq = callPackage ../development/python-modules/yq {
|
yq = callPackage ../development/python-modules/yq {
|
||||||
|
|
Loading…
Reference in a new issue