summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-07-28 12:52:00 +0000
committerGitHub <noreply@github.com>2021-07-28 12:52:00 +0000
commitcb12f0cd037dc79aa0a3f4d67a4b48b6e904720d (patch)
tree0a3941aff36ddc7c7470632eb2949fe6ff475d29 /pkgs
parent042180c8a08aa169d204a0a7ff5095c5d687b15a (diff)
parent47abe47b55fc158cdcbe13245e6e390087b86586 (diff)
downloadnixpkgs-cb12f0cd037dc79aa0a3f4d67a4b48b6e904720d.tar
nixpkgs-cb12f0cd037dc79aa0a3f4d67a4b48b6e904720d.tar.gz
nixpkgs-cb12f0cd037dc79aa0a3f4d67a4b48b6e904720d.tar.bz2
nixpkgs-cb12f0cd037dc79aa0a3f4d67a4b48b6e904720d.tar.lz
nixpkgs-cb12f0cd037dc79aa0a3f4d67a4b48b6e904720d.tar.xz
nixpkgs-cb12f0cd037dc79aa0a3f4d67a4b48b6e904720d.tar.zst
nixpkgs-cb12f0cd037dc79aa0a3f4d67a4b48b6e904720d.zip
Merge pull request #131743 from DeeUnderscore/streamlink-2.3.0
streamlink: 2.2.0 -> 2.3.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/video/streamlink/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/applications/video/streamlink/default.nix b/pkgs/applications/video/streamlink/default.nix
index fde2833c98c..8097c5dbe92 100644
--- a/pkgs/applications/video/streamlink/default.nix
+++ b/pkgs/applications/video/streamlink/default.nix
@@ -7,13 +7,13 @@
 
 python3.pkgs.buildPythonApplication rec {
   pname = "streamlink";
-  version = "2.2.0";
+  version = "2.3.0";
 
   src = fetchFromGitHub {
     owner = "streamlink";
     repo = "streamlink";
     rev = version;
-    sha256 = "1323v1pavmbb2vk3djdkxd8j6i3yrcgrkyl2d7xwkb7nwlla1x1v";
+    sha256 = "sha256-lsurDFvVHn1rxR3bgG7BY512ISavpja36/UaKXauf+g=";
   };
 
   checkInputs = with python3.pkgs; [
@@ -35,9 +35,11 @@ python3.pkgs.buildPythonApplication rec {
     ffmpeg
   ];
 
-  disabledTests = [
-    "test_plugin_not_in_removed_list"
-  ];
+  # note that upstream currently uses requests 2.25.1 in Windows builds
+  postPatch = ''
+    substituteInPlace setup.py \
+      --replace 'requests>=2.26.0,<3.0' 'requests>=2.25.1,<3.0'
+  '';
 
   meta = with lib; {
     homepage = "https://github.com/streamlink/streamlink";