Commit 7ba7e2dd authored by adisbladis's avatar adisbladis
Browse files

python3.pkgs.requests: Use dependencies & optional-dependencies params

parent 4d0cca46
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ buildPythonPackage rec {
    hash = "sha256-lCxadY+Y15Dq7Ropy27vx/+w0c968Fw9J5Flbb1q0eE=";
  };

  propagatedBuildInputs = [
  dependencies = [
    brotlicffi
    certifi
    charset-normalizer
@@ -38,7 +38,7 @@ buildPythonPackage rec {
    urllib3
  ];

  passthru.optional-dependencies = {
  optional-dependencies = {
    security = [];
    socks = [
      pysocks
@@ -53,7 +53,7 @@ buildPythonPackage rec {
    pytest-xdist
    pytestCheckHook
  ]
  ++ passthru.optional-dependencies.socks;
  ++ optional-dependencies.socks;

  disabledTests = [
    # Disable tests that require network access and use httpbin