2020-06-07 13:39:09 +01:00
|
|
|
{ stdenv, fetchFromGitHub, rtmpdump, php, pythonPackages, ffmpeg_3 }:
|
2015-11-21 21:44:32 +00:00
|
|
|
|
2017-07-21 09:24:21 +01:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "yle-dl";
|
2018-02-17 20:33:51 +00:00
|
|
|
version = "2.31";
|
2015-11-21 21:44:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aajanki";
|
|
|
|
repo = "yle-dl";
|
|
|
|
rev = version;
|
2018-02-17 20:33:51 +00:00
|
|
|
sha256 = "0k93p9csyjm0w33diwl5s22kzs3g78jl3n9k8nxxpqrybfjl912f";
|
2015-11-21 21:44:32 +00:00
|
|
|
};
|
|
|
|
|
2020-01-16 11:09:01 +00:00
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
2020-06-07 13:39:09 +01:00
|
|
|
lxml pyamf pycrypto requests future ffmpeg_3 setuptools
|
2020-01-16 11:09:01 +00:00
|
|
|
];
|
2017-11-03 18:01:28 +00:00
|
|
|
pythonPath = [ rtmpdump php ];
|
|
|
|
|
|
|
|
doCheck = false; # tests require network access
|
|
|
|
checkInputs = with pythonPackages; [ pytest pytestrunner ];
|
2015-11-21 21:44:32 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Downloads videos from Yle (Finnish Broadcasting Company) servers";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://aajanki.github.io/yle-dl/";
|
2015-11-21 21:44:32 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.dezgeg ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|