From b670cf8df67de266d8c5f029f5442ab57392e424 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 6 Jun 2022 02:05:22 +0200 Subject: [PATCH] python3Packages.snscrape: propagate requests[socks] --- pkgs/development/python-modules/snscrape/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/snscrape/default.nix b/pkgs/development/python-modules/snscrape/default.nix index 98933759f0bb..e9a9384fd028 100644 --- a/pkgs/development/python-modules/snscrape/default.nix +++ b/pkgs/development/python-modules/snscrape/default.nix @@ -32,7 +32,9 @@ buildPythonPackage rec { beautifulsoup4 lxml requests - ] ++ lib.optionals (pythonOlder "3.9") [ + ] + ++ requests.optional-dependencies.socks + ++ lib.optionals (pythonOlder "3.9") [ pytz ];