nixpkgs/pkgs/tools/misc/yle-dl/default.nix

24 lines
668 B
Nix
Raw Normal View History

2015-11-21 21:44:32 +00:00
{ stdenv, fetchFromGitHub, rtmpdump, php, pythonPackages }:
2017-07-21 08:24:21 +00:00
pythonPackages.buildPythonApplication rec {
2015-11-21 21:44:32 +00:00
name = "yle-dl-${version}";
2017-07-21 08:24:21 +00:00
version = "2.20";
2015-11-21 21:44:32 +00:00
src = fetchFromGitHub {
owner = "aajanki";
repo = "yle-dl";
rev = version;
2017-07-21 08:24:21 +00:00
sha256 = "06wzv230hfh3w9gs245kff8666bsfbax3ibr5zxj3h5z4qhhf9if";
2015-11-21 21:44:32 +00:00
};
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;
};
}