Files
nixpkgs/pkgs/development/python-modules/ldaptor/default.nix
T
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

52 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
twisted,
passlib,
pyparsing,
service-identity,
six,
zope-interface,
pythonOlder,
python,
}:
buildPythonPackage rec {
pname = "ldaptor";
version = "21.2.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-jEnrGTddSqs+W4NYYGFODLF+VrtaIOGHSAj6W+xno1g=";
};
propagatedBuildInputs = [
passlib
pyparsing
six
twisted
zope-interface
] ++ twisted.optional-dependencies.tls;
nativeCheckInputs = [ twisted ];
# Test creates an excessive amount of temporary files (order of millions).
# Cleaning up those files already took over 15 hours already on my zfs
# filesystem and is not finished yet.
doCheck = false;
checkPhase = ''
trial -j$NIX_BUILD_CORES ldaptor
'';
meta = with lib; {
description = "Pure-Python Twisted library for LDAP";
homepage = "https://github.com/twisted/ldaptor";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}