Files
nixpkgs/pkgs/development/python-modules/ldappool/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

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
];
};
}