samba: add missing python dependencies for ldap and domain controller

This commit is contained in:
Maxine Aubrey 2021-05-31 18:41:25 +02:00 committed by Martin Weinelt
parent 789ffa23af
commit b760ab8cfb

View file

@ -26,6 +26,7 @@
, tdb
, cmocka
, rpcsvc-proto
, python3Packages
, nixosTests
, enableLDAP ? false, openldap
@ -91,10 +92,10 @@ stdenv.mkDerivation rec {
libtasn1
tdb
] ++ optionals stdenv.isLinux [ liburing systemd ]
++ optional enableLDAP openldap
++ optionals enableLDAP [ openldap.dev python3Packages.markdown ]
++ optional (enablePrinting && stdenv.isLinux) cups
++ optional enableMDNS avahi
++ optionals enableDomainController [ gpgme lmdb ]
++ optionals enableDomainController [ gpgme lmdb python3Packages.dnspython ]
++ optional enableRegedit ncurses
++ optional (enableCephFS && stdenv.isLinux) libceph
++ optionals (enableGlusterFS && stdenv.isLinux) [ glusterfs libuuid ]