nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 33 lines 736 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 httpx, 6}: 7 8buildPythonPackage rec { 9 pname = "youtube-search-python"; 10 version = "1.6.6"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-RWjR12ns1+tLuDZfBO7G42TF9w7sezdl9UPa67E1/PU="; 16 }; 17 18 patches = [ ./fix-httpx-proxies.patch ]; 19 20 propagatedBuildInputs = [ httpx ]; 21 22 pythonImportsCheck = [ "youtubesearchpython" ]; 23 24 # Project has no tests 25 doCheck = false; 26 27 meta = { 28 description = "Search for YouTube videos, channels & playlists & get video information using link without YouTube Data API"; 29 homepage = "https://github.com/alexmercerind/youtube-search-python"; 30 license = lib.licenses.mit; 31 maintainers = [ ]; 32 }; 33}