fangfrisch: add support for socks proxies (#398896)

This commit is contained in:
Yt
2025-04-15 17:42:46 -04:00
committed by GitHub
+10 -4
View File
@@ -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; [
requests
sqlalchemy
];
propagatedBuildInputs =
with python3.pkgs;
[
requests
sqlalchemy
]
++ lib.optional supportSocks pysocks;
pythonImportsCheck = [ "fangfrisch" ];