depot/third_party/nixpkgs/pkgs/development/python-modules/ms-active-directory/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

49 lines
1,015 B
Nix

{
lib,
buildPythonPackage,
dnspython,
fetchFromGitHub,
ldap3,
pyasn1,
pycryptodome,
pythonOlder,
pytz,
six,
}:
buildPythonPackage rec {
pname = "ms-active-directory";
version = "1.13.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "zorn96";
repo = "ms_active_directory";
rev = "refs/tags/v${version}";
hash = "sha256-+wfhtEGuC1R5jbEnWm4mDHIR096KKEcG/K8SuItwjGk=";
};
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/";
changelog = "https://github.com/zorn96/ms_active_directory/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}