summary refs log tree commit diff
path: root/pkgs/tools/misc/yle-dl/default.nix
blob: 7fc9589537fe5f368ccf82c433725080c0b51155 (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
{ stdenv, fetchFromGitHub, rtmpdump, php, pythonPackages }:

pythonPackages.buildPythonApplication rec {
  name = "yle-dl-${version}";
  version = "2.20";

  src = fetchFromGitHub {
    owner = "aajanki";
    repo = "yle-dl";
    rev = version;
    sha256 = "06wzv230hfh3w9gs245kff8666bsfbax3ibr5zxj3h5z4qhhf9if";
  };

  pythonPath = [ rtmpdump php ] ++ (with pythonPackages; [ pycrypto ]);

  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;
  };
}