summary refs log tree commit diff
path: root/pkgs/applications/video/streamlink
diff options
context:
space:
mode:
authorRobert Schütz <dev@schuetz-co.de>2021-04-25 16:01:46 +0200
committerRobert Schütz <dev@schuetz-co.de>2021-04-25 16:02:58 +0200
commit42cca18c8c2eb4c29f448e755b1b7d810ed84c4a (patch)
tree43a033a6ef4a14fd004df235c930b002714321f9 /pkgs/applications/video/streamlink
parent632292a4dba333fecd7ed2b3d5664ae3ade2a779 (diff)
streamlink: 2.0.0 -> 2.1.1
Diffstat (limited to 'pkgs/applications/video/streamlink')
-rw-r--r--pkgs/applications/video/streamlink/default.nix23
1 files changed, 13 insertions, 10 deletions
diff --git a/pkgs/applications/video/streamlink/default.nix b/pkgs/applications/video/streamlink/default.nix
index 97607f939fdd8..94bd0877a7d13 100644
--- a/pkgs/applications/video/streamlink/default.nix
+++ b/pkgs/applications/video/streamlink/default.nix
@@ -1,30 +1,29 @@
 { lib
-, pythonPackages
+, python3
 , fetchFromGitHub
 , rtmpdump
-, ffmpeg_3
+, ffmpeg
 }:
 
-pythonPackages.buildPythonApplication rec {
+python3.pkgs.buildPythonApplication rec {
   pname = "streamlink";
-  version = "2.0.0";
-  disabled = pythonPackages.pythonOlder "3.5.0";
+  version = "2.1.1";
 
   src = fetchFromGitHub {
     owner = "streamlink";
     repo = "streamlink";
     rev = version;
-    sha256 = "+W9Nu5Ze08r7IlUZOkkVOz582E1Bbj0a3qIQHwxSmj8=";
+    sha256 = "14vqh4pck3q766qln7c57n9bz8zrlgfqrpkdn8x0ac9zhlhfn1zm";
   };
 
-  checkInputs = with pythonPackages; [
-    pytest
+  checkInputs = with python3.pkgs; [
+    pytestCheckHook
     mock
     requests-mock
     freezegun
   ];
 
-  propagatedBuildInputs = (with pythonPackages; [
+  propagatedBuildInputs = (with python3.pkgs; [
     pycryptodome
     requests
     iso-639
@@ -33,7 +32,11 @@ pythonPackages.buildPythonApplication rec {
     isodate
   ]) ++ [
     rtmpdump
-    ffmpeg_3
+    ffmpeg
+  ];
+
+  disabledTests = [
+    "test_plugin_not_in_removed_list"
   ];
 
   meta = with lib; {