depot/third_party/nixpkgs/pkgs/development/python-modules/ldap3/default.nix

22 lines
525 B
Nix
Raw Normal View History

{ lib, fetchPypi, buildPythonPackage, pyasn1 }:
buildPythonPackage rec {
pname = "ldap3";
version = "2.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "f3e7fc4718e3f09dda568b57100095e0ce58633bcabbed8667ce3f8fbaa4229f";
};
propagatedBuildInputs = [ pyasn1 ];
doCheck = false; # requires network
meta = with lib; {
homepage = "https://pypi.python.org/pypi/ldap3";
description = "A strictly RFC 4510 conforming LDAP V3 pure Python client library";
license = licenses.lgpl3;
};
}