python3Packages.youtube-search: use fetchPypi
There are no tags on GitHub.
This commit is contained in:
parent
065e571d29
commit
e3342306d8
1 changed files with 7 additions and 8 deletions
|
@ -1,20 +1,19 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub, requests }:
|
{ lib, buildPythonPackage, fetchPypi, requests }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "youtube-search";
|
pname = "youtube-search";
|
||||||
version = "unstable-2021-02-27";
|
version = "2.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchPypi {
|
||||||
owner = "joetats";
|
inherit pname version;
|
||||||
repo = "youtube_search";
|
sha256 = "1541120273996fa433698b2e57b73296dfb8e90536211f29ea997dcf161b66fe";
|
||||||
rev = "886fe1b16c829215ee0984b6859f874b4a30d875";
|
|
||||||
sha256 = "sha256-3ECJ6iHNzx5PLgpTFraFzAYbKnyMYRf/iJ0zajU+hlo=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests ];
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
# Check disabled due to relative import with no known parent package
|
# tests require network connection
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "youtube_search" ];
|
pythonImportsCheck = [ "youtube_search" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue