python3Packages.msldap: disable on older Python releases
This commit is contained in:
parent
feb68f31e1
commit
8cc2efce4a
1 changed files with 9 additions and 2 deletions
|
@ -8,15 +8,19 @@
|
||||||
, tqdm
|
, tqdm
|
||||||
, winacl
|
, winacl
|
||||||
, winsspi
|
, winsspi
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "msldap";
|
pname = "msldap";
|
||||||
version = "0.3.38";
|
version = "0.3.38";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-zJEp8/jPTAb3RpzyXySdtVl2uSLpSirGkJh7GB/3Qwc=";
|
hash = "sha256-zJEp8/jPTAb3RpzyXySdtVl2uSLpSirGkJh7GB/3Qwc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -31,7 +35,10 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
# Project doesn't have tests
|
# Project doesn't have tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
pythonImportsCheck = [ "msldap" ];
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"msldap"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python LDAP library for auditing MS AD";
|
description = "Python LDAP library for auditing MS AD";
|
||||||
|
|
Loading…
Reference in a new issue