Python: replace requests2 with requests tree-wide

See f63eb58573

The `requests2` attribute now throws an error informing that `requests`
should be used instead.
This commit is contained in:
Frederik Rietdijk
2017-05-07 12:56:09 +02:00
parent 024ddb32a7
commit ef4442e827
51 changed files with 170 additions and 169 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
, rtmpdump, substituteAll }:
let
inherit (pythonPackages) python nose pycrypto requests2 mock;
inherit (pythonPackages) python nose pycrypto requests mock;
in stdenv.mkDerivation rec {
name = "svtplay-dl-${version}";
version = "1.9.3";
@@ -14,7 +14,7 @@ in stdenv.mkDerivation rec {
sha256 = "14qksi1svi89niffykxg47kay013byls6bnhkrkzkanq04075lmw";
};
pythonPaths = [ pycrypto requests2 ];
pythonPaths = [ pycrypto requests ];
buildInputs = [ python perl nose mock rtmpdump makeWrapper ] ++ pythonPaths;
nativeBuildInputs = [ zip ];