python3Packages.devpi-ldap: init at 2.1.1-unstable 2023-11-28 (#379434)

This commit is contained in:
Martin Weinelt 2025-06-07 00:42:48 +02:00 committed by GitHub
commit d308aa9772
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,57 @@
{
lib,
buildPythonPackage,
devpi-server,
fetchFromGitHub,
ldap3,
mock,
pytest-cov-stub,
pytest-flake8,
pytestCheckHook,
pythonOlder,
pyyaml,
setuptools,
webtest,
}:
buildPythonPackage rec {
pname = "devpi-ldap";
version = "2.1.1-unstable-2023-11-28";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "devpi";
repo = "devpi-ldap";
rev = "281a21d4e8d11bfec7dca2cf23fa39660a6d5796";
hash = "sha256-vwX0bOb2byN3M6iBk0tZJy8H39fjwBYvA0Nxi7OTzFQ=";
};
build-system = [ setuptools ];
dependencies = [
devpi-server
pyyaml
ldap3
];
nativeCheckInputs = [
devpi-server
mock
pytest-cov-stub
pytest-flake8
pytestCheckHook
webtest
];
pythonImportsCheck = [ "devpi_ldap" ];
meta = {
homepage = "https://github.com/devpi/devpi-ldap";
description = "LDAP authentication for devpi-server";
changelog = "https://github.com/devpi/devpi-ldap/blob/main/CHANGELOG.rst";
license = lib.licenses.mit; # according to its setup.py
maintainers = with lib.maintainers; [ confus ];
};
}

View File

@ -3491,6 +3491,8 @@ self: super: with self; {
devpi-common = callPackage ../development/python-modules/devpi-common { };
devpi-ldap = callPackage ../development/python-modules/devpi-ldap { };
devtools = callPackage ../development/python-modules/devtools { };
dfdiskcache = callPackage ../development/python-modules/dfdiskcache { };