diff options
author | Johannes Frankenau <johannes@frankenau.net> | 2018-06-24 22:19:01 +0000 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-06-25 00:19:01 +0200 |
commit | cd4c5a3cf6c99bc752997f60b5606ff39cb89069 (patch) | |
tree | 22b8f00889beb6c9849de5a78a277daa5e89d18d /pkgs/applications/video | |
parent | 3428b44610cc270a1985fdb09169146c4eba18a3 (diff) | |
download | nixlib-cd4c5a3cf6c99bc752997f60b5606ff39cb89069.tar nixlib-cd4c5a3cf6c99bc752997f60b5606ff39cb89069.tar.gz nixlib-cd4c5a3cf6c99bc752997f60b5606ff39cb89069.tar.bz2 nixlib-cd4c5a3cf6c99bc752997f60b5606ff39cb89069.tar.lz nixlib-cd4c5a3cf6c99bc752997f60b5606ff39cb89069.tar.xz nixlib-cd4c5a3cf6c99bc752997f60b5606ff39cb89069.tar.zst nixlib-cd4c5a3cf6c99bc752997f60b5606ff39cb89069.zip |
streamlink: 0.12.1 -> 0.13.0 (#42336)
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/streamlink/default.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/applications/video/streamlink/default.nix b/pkgs/applications/video/streamlink/default.nix index 3f5f0c05c308..6885caa7d60e 100644 --- a/pkgs/applications/video/streamlink/default.nix +++ b/pkgs/applications/video/streamlink/default.nix @@ -1,19 +1,25 @@ { stdenv, pythonPackages, fetchFromGitHub, rtmpdump, ffmpeg }: pythonPackages.buildPythonApplication rec { - version = "0.12.1"; + version = "0.13.0"; name = "streamlink-${version}"; src = fetchFromGitHub { owner = "streamlink"; repo = "streamlink"; rev = "${version}"; - sha256 = "0r63fjp5qhnbp5kr4w2nn3gnj0wr0ik1pw1gyry8jl9rp2jq9db5"; + sha256 = "17i5j5a69d28abg13md2r2ycxgmd5h1pjy0pgca1zcqaqfq4v05x"; }; - checkInputs = with pythonPackages; [ pytest mock requests-mock ]; + postPatch = '' + # Fix failing test. This can be removed after version 0.13.0, see: + # https://github.com/streamlink/streamlink/commit/a27e1a2d8eec6eb23c6e1dc280c6afc1cd0b5b32 + substituteInPlace tests/test_plugin.py --replace "lambda: datetime" "datetime" + ''; - propagatedBuildInputs = (with pythonPackages; [ pycryptodome requests iso-639 iso3166 websocket_client ]) ++ [ rtmpdump ffmpeg ]; + checkInputs = with pythonPackages; [ pytest mock requests-mock freezegun ]; + + propagatedBuildInputs = (with pythonPackages; [ pycryptodome requests iso-639 iso3166 websocket_client isodate ]) ++ [ rtmpdump ffmpeg ]; meta = with stdenv.lib; { homepage = https://github.com/streamlink/streamlink; |