Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / ms-active-directory / default.nix
blobff908beaa7f22c2005e473c61122fafdd74fd7f4
1 { lib
2 , buildPythonPackage
3 , dnspython
4 , fetchFromGitHub
5 , ldap3
6 , pyasn1
7 , pycryptodome
8 , pythonOlder
9 , pytz
10 , six
13 buildPythonPackage rec {
14   pname = "ms-active-directory";
15   version = "1.13.0";
16   format = "setuptools";
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "zorn96";
22     repo = "ms_active_directory";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-+wfhtEGuC1R5jbEnWm4mDHIR096KKEcG/K8SuItwjGk=";
25   };
27   propagatedBuildInputs = [
28     dnspython
29     ldap3
30     pyasn1
31     pycryptodome
32     pytz
33     six
34   ];
36   # Module has no tests
37   doCheck = false;
39   pythonImportsCheck = [
40     "ms_active_directory"
41   ];
43   meta = with lib; {
44     description = "Python module for integrating with Microsoft Active Directory domains";
45     homepage = "https://github.com/zorn96/ms_active_directory/";
46     changelog = "https://github.com/zorn96/ms_active_directory/releases/tag/v${version}";
47     license = with licenses; [ mit ];
48     maintainers = with maintainers; [ fab ];
49   };