evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / jupyterhub-ldapauthenticator / default.nix
blob79c5c99ff99e5bf793cabfd42511e7fe11beffdd
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   jupyterhub,
7   ldap3,
8   traitlets,
9   pytestCheckHook,
10   pytest-asyncio,
13 buildPythonPackage rec {
14   pname = "jupyterhub-ldapauthenticator";
15   version = "2.0.1";
16   pyproject = true;
18   src = fetchFromGitHub {
19     owner = "jupyterhub";
20     repo = "ldapauthenticator";
21     rev = "refs/tags/${version}";
22     hash = "sha256-pb1d0dqu3VGCsuibpYgncbqCM9fz09yyoKGcKb14f4k=";
23   };
25   build-system = [ setuptools ];
27   dependencies = [
28     jupyterhub
29     ldap3
30     traitlets
31   ];
33   pythonImportsCheck = [ "ldapauthenticator" ];
35   nativeCheckInputs = [
36     pytest-asyncio
37     pytestCheckHook
38   ];
40   disabledTests = [
41     # touch the socket
42     "test_allow_config"
43     "test_ldap_auth"
44   ];
46   meta = with lib; {
47     description = "Simple LDAP Authenticator Plugin for JupyterHub";
48     homepage = "https://github.com/jupyterhub/ldapauthenticator";
49     changelog = "https://github.com/jupyterhub/ldapauthenticator/blob/${version}/CHANGELOG.md";
50     license = licenses.bsd3;
51   };