mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
57 lines
1.1 KiB
Nix
57 lines
1.1 KiB
Nix
{
|
|
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 ];
|
|
};
|
|
}
|