blob: b7c9466f2251847e06bf63d46b59edf42e819ecf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ stdenv, fetchFromGitHub, rtmpdump, php, pythonPackages }:
pythonPackages.buildPythonApplication rec {
name = "yle-dl-${version}";
version = "2.27";
src = fetchFromGitHub {
owner = "aajanki";
repo = "yle-dl";
rev = version;
sha256 = "1wxl074vxy7dlnk3ykcgnk3ms7bwh0zs7b9pxwhx5hsd894c8fpg";
};
propagatedBuildInputs = with pythonPackages; [ lxml pyamf pycrypto requests ];
pythonPath = [ rtmpdump php ];
doCheck = false; # tests require network access
checkInputs = with pythonPackages; [ pytest pytestrunner ];
meta = with stdenv.lib; {
description = "Downloads videos from Yle (Finnish Broadcasting Company) servers";
homepage = https://aajanki.github.io/yle-dl/;
license = licenses.gpl3;
maintainers = [ maintainers.dezgeg ];
platforms = platforms.linux;
};
}
|