3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #195077 from OPNA2608/fix/python-ldap_rename_fixups

This commit is contained in:
Martin Weinelt 2022-10-08 15:22:07 +02:00 committed by GitHub
commit ea71ebd1c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -26,9 +26,9 @@ let
mailmanEnv = self.python3.withPackages
(ps: [ mailman ps.psycopg2 ]
++ lib.optional withHyperkitty mailman-hyperkitty
++ lib.optionals withLDAP [ ps.ldap ps.django-auth-ldap ]);
++ lib.optionals withLDAP [ ps.python-ldap ps.django-auth-ldap ]);
webEnv = self.python3.withPackages
(ps: [ web ps.psycopg2 ] ++ lib.optionals withLDAP [ ps.ldap ps.django-auth-ldap ]);
(ps: [ web ps.psycopg2 ] ++ lib.optionals withLDAP [ ps.python-ldap ps.django-auth-ldap ]);
};
});