about summary refs log tree commit diff
path: root/pkgs/applications/video/streamlink/default.nix
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-09-21 19:25:52 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-09-21 19:29:51 +0300
commit5aee5b2100777ef2d7dc2e218a3be3922ccb3184 (patch)
treed1bbca830956094634902b3332491816a926a6ec /pkgs/applications/video/streamlink/default.nix
parent7be4077832a14b7734b809d61f6b0b41efe1f5b9 (diff)
downloadnixlib-5aee5b2100777ef2d7dc2e218a3be3922ccb3184.tar
nixlib-5aee5b2100777ef2d7dc2e218a3be3922ccb3184.tar.gz
nixlib-5aee5b2100777ef2d7dc2e218a3be3922ccb3184.tar.bz2
nixlib-5aee5b2100777ef2d7dc2e218a3be3922ccb3184.tar.lz
nixlib-5aee5b2100777ef2d7dc2e218a3be3922ccb3184.tar.xz
nixlib-5aee5b2100777ef2d7dc2e218a3be3922ccb3184.tar.zst
nixlib-5aee5b2100777ef2d7dc2e218a3be3922ccb3184.zip
streamlink: Init at 1.14.0-rc1
A fork of livestreamer (which is no longer maintained) that actually
works with Twitch.
Diffstat (limited to 'pkgs/applications/video/streamlink/default.nix')
-rw-r--r--pkgs/applications/video/streamlink/default.nix29
1 files changed, 29 insertions, 0 deletions
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 ];
+  };
+}