mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
python3Packages.ms-active-directory: init at 1.12.1
This commit is contained in:
parent
cd8cf17485
commit
5030bcc563
2 changed files with 51 additions and 0 deletions
|
@ -0,0 +1,49 @@
|
||||||
|
{ 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}";
|
||||||
|
sha256 = "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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -4994,6 +4994,8 @@ in {
|
||||||
|
|
||||||
mrkd = callPackage ../development/python-modules/mrkd { };
|
mrkd = callPackage ../development/python-modules/mrkd { };
|
||||||
|
|
||||||
|
ms-active-directory = callPackage ../development/python-modules/ms-active-directory { };
|
||||||
|
|
||||||
ms-cv = callPackage ../development/python-modules/ms-cv { };
|
ms-cv = callPackage ../development/python-modules/ms-cv { };
|
||||||
|
|
||||||
msal = callPackage ../development/python-modules/msal { };
|
msal = callPackage ../development/python-modules/msal { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue