Unverified Commit d308aa97 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

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

parents b91b3c88 24979e20
Loading
Loading
Loading
Loading
+57 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };