Merge pull request #196342 from duament/etebase-postgresql

This commit is contained in:
Sandro 2022-11-06 00:00:58 +01:00 committed by GitHub
commit f8152fb786
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ lib, fetchFromGitHub, buildPythonPackage, aiofiles, django_3
, fastapi, msgpack, pynacl, redis, typing-extensions
, withLdap ? true, python-ldap }:
, withLdap ? true, python-ldap
, withPostgres ? true, psycopg2 }:
buildPythonPackage rec {
pname = "etebase-server";
@ -24,7 +25,8 @@ buildPythonPackage rec {
pynacl
redis
typing-extensions
] ++ lib.optional withLdap python-ldap;
] ++ lib.optional withLdap python-ldap
++ lib.optional withPostgres psycopg2;
installPhase = ''
mkdir -p $out/bin $out/lib