etebase-server: add option withPostgres

Rvfg bdb03bc3 9cac1e13

+4 -2
+4 -2
pkgs/servers/etebase/default.nix
··· 1 1 { lib, fetchFromGitHub, buildPythonPackage, aiofiles, django_3 2 2 , fastapi, msgpack, pynacl, redis, typing-extensions 3 - , withLdap ? true, python-ldap }: 3 + , withLdap ? true, python-ldap 4 + , withPostgres ? true, psycopg2 }: 4 5 5 6 buildPythonPackage rec { 6 7 pname = "etebase-server"; ··· 24 25 pynacl 25 26 redis 26 27 typing-extensions 27 - ] ++ lib.optional withLdap python-ldap; 28 + ] ++ lib.optional withLdap python-ldap 29 + ++ lib.optional withPostgres psycopg2; 28 30 29 31 installPhase = '' 30 32 mkdir -p $out/bin $out/lib