diff options
Diffstat (limited to 'pkgs/by-name/fa/fangfrisch/package.nix')
| -rw-r--r-- | pkgs/by-name/fa/fangfrisch/package.nix | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/pkgs/by-name/fa/fangfrisch/package.nix b/pkgs/by-name/fa/fangfrisch/package.nix index 48e1726c7518..a60e95aab5f5 100644 --- a/pkgs/by-name/fa/fangfrisch/package.nix +++ b/pkgs/by-name/fa/fangfrisch/package.nix @@ -2,6 +2,10 @@ lib, python3, fetchFromGitHub, + nix-update-script, + + # support setting socks proxies in `ALL_PROXY` environment variable + supportSocks ? true, }: let version = "1.9.2"; @@ -23,13 +27,18 @@ python3.pkgs.buildPythonApplication { python3.pkgs.wheel ]; - propagatedBuildInputs = with python3.pkgs; [ - requests - sqlalchemy - ]; + propagatedBuildInputs = + with python3.pkgs; + [ + requests + sqlalchemy + ] + ++ lib.optional supportSocks pysocks; pythonImportsCheck = [ "fangfrisch" ]; + passthru.updateScript = nix-update-script { }; + meta = with lib; { description = "Update and verify unofficial Clam Anti-Virus signatures"; homepage = "https://github.com/rseichter/fangfrisch"; |
