Unverified Commit 0f18aa33 authored by Yt's avatar Yt Committed by GitHub
Browse files

fangfrisch: add support for socks proxies (#398896)

parents 9f3c716b 2970f58e
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -3,6 +3,9 @@
  python3,
  fetchFromGitHub,
  nix-update-script,

  # support setting socks proxies in `ALL_PROXY` environment variable
  supportSocks ? true,
}:
let
  version = "1.9.2";
@@ -24,10 +27,13 @@ python3.pkgs.buildPythonApplication {
    python3.pkgs.wheel
  ];

  propagatedBuildInputs = with python3.pkgs; [
  propagatedBuildInputs =
    with python3.pkgs;
    [
      requests
      sqlalchemy
  ];
    ]
    ++ lib.optional supportSocks pysocks;

  pythonImportsCheck = [ "fangfrisch" ];