1 { lib, fetchFromGitHub, rtmpdump, php, wget, python3Packages, ffmpeg
5 python3Packages.buildPythonApplication rec {
9 src = fetchFromGitHub {
13 hash = "sha256-X5fkcJgTVGASoVvvshGWUFNzB1V4KMSKgwoxzP62mxc=";
16 propagatedBuildInputs = with python3Packages; [
17 attrs configargparse ffmpeg future lxml requests
19 pythonPath = [ rtmpdump php wget ];
21 doCheck = false; # tests require network access
22 nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
24 passthru.tests.version = testers.testVersion {
26 command = "yle-dl -h";
30 description = "Downloads videos from Yle (Finnish Broadcasting Company) servers";
31 homepage = "https://aajanki.github.io/yle-dl/";
32 changelog = "https://github.com/aajanki/yle-dl/blob/${version}/ChangeLog";
33 license = licenses.gpl3Plus;
34 maintainers = with maintainers; [ dezgeg ];
35 platforms = platforms.unix;
36 mainProgram = "yle-dl";