@@ -0,0 +1,29 @@
1+{ stdenv, pythonPackages, fetchFromGitHub, rtmpdump }:
2+
3+pythonPackages.buildPythonApplication rec {
4+ version = "1.14.0-rc1";
5+ name = "streamlink-${version}";
6+
7+ src = fetchFromGitHub {
8+ owner = "streamlink";
9+ repo = "streamlink";
10+ rev = "ffc099b16b9a9d2c0c44081d687c50ee2e935f29";
11+ sha256 = "0ix2k2yd2jzcazkjjb0iczr4bv7pgx873k7bhxgb9zwplklxpw1k";
12+ };
13+
14+ propagatedBuildInputs = (with pythonPackages; [ pycrypto requests2 ]) ++ [ rtmpdump ];
15+
16+ meta = with stdenv.lib; {
17+ homepage = https://github.com/streamlink/streamlink;
18+ description = ''
19+ Streamlink is a CLI utility that pipes flash videos from online
20+ streaming services to a variety of video players such as VLC, or
21+ alternatively, a browser.
22+
23+ Streamlink is a fork of the livestreamer project.
24+ '';
25+ license = licenses.bsd2;
26+ platforms = platforms.linux;
27+ maintainers = [ maintainers.dezgeg ];
28+ };
29+}