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