at 18.09-beta 579 B view raw
1{ lib, buildPythonPackage, youtube-dl, fetchPypi }: 2buildPythonPackage rec { 3 pname = "pafy"; 4 version = "0.5.4"; 5 6 src = fetchPypi { 7 inherit pname version; 8 sha256 = "e842dc589a339a870b5869cc3802f2e95824edf347f65128223cd5ebdff21024"; 9 }; 10 11 # No tests included in archive 12 doCheck = false; 13 14 propagatedBuildInputs = [ youtube-dl ]; 15 16 meta = with lib; { 17 description = "A library to download YouTube content and retrieve metadata"; 18 homepage = http://np1.github.io/pafy/; 19 license = licenses.lgpl3Plus; 20 maintainers = with maintainers; [ odi ]; 21 }; 22} 23