diff options
author | davidak <davidak@users.noreply.github.com> | 2021-04-26 12:15:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-26 12:15:20 +0200 |
commit | 43d751a574d057bf3ae9010a615505324aa74a3b (patch) | |
tree | 6b69e7a05babcc9d570d2114e507750558da8078 /pkgs/applications/video | |
parent | 2011a33471616bcde79ca19cc34f99fd58f849e4 (diff) | |
parent | 42cca18c8c2eb4c29f448e755b1b7d810ed84c4a (diff) |
Merge pull request #120601 from dotlambda/streamlink-2.1.1
streamlink: 2.0.0 -> 2.1.1
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/streamlink/default.nix | 23 |
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; { |