From 5aee5b2100777ef2d7dc2e218a3be3922ccb3184 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Wed, 21 Sep 2016 19:25:52 +0300 Subject: streamlink: Init at 1.14.0-rc1 A fork of livestreamer (which is no longer maintained) that actually works with Twitch. --- pkgs/applications/video/streamlink/default.nix | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkgs/applications/video/streamlink/default.nix (limited to 'pkgs/applications/video') diff --git a/pkgs/applications/video/streamlink/default.nix b/pkgs/applications/video/streamlink/default.nix new file mode 100644 index 000000000000..95fd0c9ebc7b --- /dev/null +++ b/pkgs/applications/video/streamlink/default.nix @@ -0,0 +1,29 @@ +{ stdenv, pythonPackages, fetchFromGitHub, rtmpdump }: + +pythonPackages.buildPythonApplication rec { + version = "1.14.0-rc1"; + name = "streamlink-${version}"; + + src = fetchFromGitHub { + owner = "streamlink"; + repo = "streamlink"; + rev = "ffc099b16b9a9d2c0c44081d687c50ee2e935f29"; + sha256 = "0ix2k2yd2jzcazkjjb0iczr4bv7pgx873k7bhxgb9zwplklxpw1k"; + }; + + propagatedBuildInputs = (with pythonPackages; [ pycrypto requests2 ]) ++ [ rtmpdump ]; + + meta = with stdenv.lib; { + homepage = https://github.com/streamlink/streamlink; + description = '' + Streamlink is a CLI utility that pipes flash videos from online + streaming services to a variety of video players such as VLC, or + alternatively, a browser. + + Streamlink is a fork of the livestreamer project. + ''; + license = licenses.bsd2; + platforms = platforms.linux; + maintainers = [ maintainers.dezgeg ]; + }; +} -- cgit 1.4.1