about summary refs log tree commit diff
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2023-12-02 17:50:22 +1300
committeradisbladis <adisbladis@gmail.com>2024-02-18 17:40:42 +1300
commit7ba7e2dd65fe4cf8a8288461162de1761a520004 (patch)
tree412a435a09adf336a27cf09a382bd79a55939f36
parent4d0cca465476a1142c187198c9fe3fcd89aec6d1 (diff)
downloadnixlib-7ba7e2dd65fe4cf8a8288461162de1761a520004.tar
nixlib-7ba7e2dd65fe4cf8a8288461162de1761a520004.tar.gz
nixlib-7ba7e2dd65fe4cf8a8288461162de1761a520004.tar.bz2
nixlib-7ba7e2dd65fe4cf8a8288461162de1761a520004.tar.lz
nixlib-7ba7e2dd65fe4cf8a8288461162de1761a520004.tar.xz
nixlib-7ba7e2dd65fe4cf8a8288461162de1761a520004.tar.zst
nixlib-7ba7e2dd65fe4cf8a8288461162de1761a520004.zip
python3.pkgs.requests: Use dependencies & optional-dependencies params
-rw-r--r--pkgs/development/python-modules/requests/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/requests/default.nix b/pkgs/development/python-modules/requests/default.nix
index 44733b2da0af..33749a992471 100644
--- a/pkgs/development/python-modules/requests/default.nix
+++ b/pkgs/development/python-modules/requests/default.nix
@@ -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