depot/third_party/nixpkgs/pkgs/development/python-modules/ms-active-directory/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

49 lines
909 B
Nix

{ lib
, buildPythonPackage
, dnspython
, fetchFromGitHub
, ldap3
, pyasn1
, pycryptodome
, pythonOlder
, pytz
, six
}:
buildPythonPackage rec {
pname = "ms-active-directory";
version = "1.12.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "zorn96";
repo = "ms_active_directory";
rev = "v${version}";
hash = "sha256-mErQib8xTgo29iPAtiLnhxLXyFboAzyEW9A/QMseM6k=";
};
propagatedBuildInputs = [
dnspython
ldap3
pyasn1
pycryptodome
pytz
six
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"ms_active_directory"
];
meta = with lib; {
description = "Python module for integrating with Microsoft Active Directory domains";
homepage = "https://github.com/zorn96/ms_active_directory/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}