mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
etebase-server: add option withPostgres
This commit is contained in:
parent
9cac1e1384
commit
bdb03bc365
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user