Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
57 lines
872 B
Nix
57 lines
872 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
pbr,
|
|
python-ldap,
|
|
prettytable,
|
|
six,
|
|
unittestCheckHook,
|
|
fixtures,
|
|
testresources,
|
|
testtools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ldappool";
|
|
version = "3.0.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "ldappool";
|
|
inherit version;
|
|
hash = "sha256-S7WbfWsRQH9I7gGngSZ+PIupjZH0JoBqxyCGEq4Ie4Y=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
pbr
|
|
];
|
|
|
|
dependencies = [
|
|
python-ldap
|
|
prettytable
|
|
six
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
unittestCheckHook
|
|
fixtures
|
|
testresources
|
|
testtools
|
|
];
|
|
|
|
pythonImportsCheck = [ "ldappool" ];
|
|
|
|
meta = with lib; {
|
|
description = "Simple connector pool for python-ldap";
|
|
homepage = "https://opendev.org/openstack/ldappool/";
|
|
license = with licenses; [
|
|
mpl11
|
|
lgpl21Plus
|
|
gpl2Plus
|
|
];
|
|
};
|
|
}
|