Files
nixpkgs/pkgs/development/python-modules/ms-active-directory/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

53 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
dnspython,
fetchFromGitHub,
ldap3,
pyasn1,
pycryptodome,
pythonOlder,
pytz,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "ms-active-directory";
version = "1.14.1";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "zorn96";
repo = "ms_active_directory";
tag = "v${version}";
hash = "sha256-ZFIeG95+G9ofk54bYZpqu8uVfzjqsOrwWlIZvQgIWRI=";
};
build-system = [ setuptools ];
dependencies = [
dnspython
ldap3
pyasn1
pycryptodome
pytz
six
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "ms_active_directory" ];
meta = {
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}