depot/third_party/nixpkgs/pkgs/development/python-modules/ldap3-bleeding-edge/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

43 lines
832 B
Nix

{
lib,
buildPythonPackage,
cryptography,
fetchPypi,
gssapi,
pyasn1,
pycryptodomex,
setuptools,
}:
buildPythonPackage rec {
pname = "ldap3-bleeding-edge";
version = "2.10.1.1337";
pyproject = true;
src = fetchPypi {
pname = "ldap3_bleeding_edge";
inherit version;
hash = "sha256-j4hzcqwOONol6YqY9Ldz9YphjPmacFoVyqUnMHW1aZk=";
};
build-system = [ setuptools ];
dependencies = [
cryptography
gssapi
pyasn1
pycryptodomex
];
pythonImportsCheck = [ "ldap3" ];
# Tests require network access
doCheck = false;
meta = {
description = "Strictly RFC 4510 conforming LDAP V3 client library (bleeding edge)";
homepage = "https://pypi.org/project/ldap3-bleeding-edge/";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fab ];
};
}