python312Packages.jupyterhub-ldapauthenticator: 1.3.2 -> 2.0.1

Diff:
https://github.com/jupyterhub/ldapauthenticator/compare/1.3.2...2.0.1

Changelog:
https://github.com/jupyterhub/ldapauthenticator/blob/2.0.1/CHANGELOG.md
This commit is contained in:
natsukium 2024-11-02 11:34:02 +09:00
parent 225a727fc0
commit 54785180cf
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -1,32 +1,52 @@
{ {
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub,
setuptools,
jupyterhub, jupyterhub,
ldap3, ldap3,
fetchPypi, traitlets,
pytestCheckHook,
pytest-asyncio,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "jupyterhub-ldapauthenticator"; pname = "jupyterhub-ldapauthenticator";
version = "1.3.2"; version = "2.0.1";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "jupyterhub";
sha256 = "758081bbdb28b26313bb18c9d8aa2b8fcdc9162e4d3ab196c626567e64f1ab8b"; repo = "ldapauthenticator";
rev = "refs/tags/${version}";
hash = "sha256-pb1d0dqu3VGCsuibpYgncbqCM9fz09yyoKGcKb14f4k=";
}; };
# No tests implemented build-system = [ setuptools ];
doCheck = false;
propagatedBuildInputs = [ dependencies = [
jupyterhub jupyterhub
ldap3 ldap3
traitlets
];
pythonImportsCheck = [ "ldapauthenticator" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
disabledTests = [
# touch the socket
"test_allow_config"
"test_ldap_auth"
]; ];
meta = with lib; { meta = with lib; {
description = "Simple LDAP Authenticator Plugin for JupyterHub"; description = "Simple LDAP Authenticator Plugin for JupyterHub";
homepage = "https://github.com/jupyterhub/ldapauthenticator"; homepage = "https://github.com/jupyterhub/ldapauthenticator";
changelog = "https://github.com/jupyterhub/ldapauthenticator/blob/${version}/CHANGELOG.md";
license = licenses.bsd3; license = licenses.bsd3;
}; };
} }