lol

python3Packages.youtube-search: use fetchPypi

There are no tags on GitHub.

authored by

Robert Schütz and committed by
Jonathan Ringer
e3342306 065e571d

+7 -8
+7 -8
pkgs/development/python-modules/youtube-search/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, requests }: 1 + { lib, buildPythonPackage, fetchPypi, requests }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "youtube-search"; 5 - version = "unstable-2021-02-27"; 5 + version = "2.1.0"; 6 6 7 - src = fetchFromGitHub { 8 - owner = "joetats"; 9 - repo = "youtube_search"; 10 - rev = "886fe1b16c829215ee0984b6859f874b4a30d875"; 11 - sha256 = "sha256-3ECJ6iHNzx5PLgpTFraFzAYbKnyMYRf/iJ0zajU+hlo="; 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "1541120273996fa433698b2e57b73296dfb8e90536211f29ea997dcf161b66fe"; 12 10 }; 13 11 14 12 propagatedBuildInputs = [ requests ]; 15 13 16 - # Check disabled due to relative import with no known parent package 14 + # tests require network connection 17 15 doCheck = false; 16 + 18 17 pythonImportsCheck = [ "youtube_search" ]; 19 18 20 19 meta = with lib; {