Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 57 lines
Nix
at llvm-cleanup
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, buildPythonPackage, fetchPypi, isPy27,
# buildtime setuptools-scm,
# runtime django, python-ldap,
# tests python, pkgs,}:
buildPythonPackage rec { pname = "django-auth-ldap"; version = "4.8.0"; format = "pyproject";
disabled = isPy27;
src = fetchPypi { inherit pname version; hash = "sha256-YEJQk43cn9phnyR8elmwsvBuU6fT9GoVbyiqMN1xpzg="; };
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ django python-ldap ];
# ValueError: SCHEMADIR is None, ldap schemas are missing. doCheck = false;
checkPhase = '' runHook preCheck export PATH=${pkgs.openldap}/bin:${pkgs.openldap}/libexec:$PATH ${python.interpreter} -m django test --settings tests.settings runHook postCheck '';
pythonImportsCheck = [ "django_auth_ldap" ];
meta = with lib; { description = "Django authentication backend that authenticates against an LDAP service"; homepage = "https://github.com/django-auth-ldap/django-auth-ldap"; license = licenses.bsd2; maintainers = with maintainers; [ mmai ]; platforms = platforms.linux; };}