python3Packages.msldap: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-03-30 11:41:48 +02:00 committed by GitHub
parent feb68f31e1
commit 8cc2efce4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,15 +8,19 @@
, tqdm
, winacl
, winsspi
, pythonOlder
}:
buildPythonPackage rec {
pname = "msldap";
version = "0.3.38";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-zJEp8/jPTAb3RpzyXySdtVl2uSLpSirGkJh7GB/3Qwc=";
hash = "sha256-zJEp8/jPTAb3RpzyXySdtVl2uSLpSirGkJh7GB/3Qwc=";
};
propagatedBuildInputs = [
@ -31,7 +35,10 @@ buildPythonPackage rec {
# Project doesn't have tests
doCheck = false;
pythonImportsCheck = [ "msldap" ];
pythonImportsCheck = [
"msldap"
];
meta = with lib; {
description = "Python LDAP library for auditing MS AD";