python3Packages.azure-mgmt-netapp: disable on older Python releases
This commit is contained in:
parent
b2209b43b4
commit
f579bb7756
|
@ -1,4 +1,7 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
, azure-common
|
, azure-common
|
||||||
, azure-mgmt-core
|
, azure-mgmt-core
|
||||||
, msrest
|
, msrest
|
||||||
|
@ -6,13 +9,14 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "7.0.0";
|
|
||||||
pname = "azure-mgmt-netapp";
|
pname = "azure-mgmt-netapp";
|
||||||
disabled = isPy27;
|
version = "7.0.0";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-ziaddG+6MoPG18OYZyQ9HRx8nfGsz2UbWPC1pWacKto=";
|
hash = "sha256-ziaddG+6MoPG18OYZyQ9HRx8nfGsz2UbWPC1pWacKto=";
|
||||||
extension = "zip";
|
extension = "zip";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -26,7 +30,10 @@ buildPythonPackage rec {
|
||||||
# no tests included
|
# no tests included
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "azure.common" "azure.mgmt.netapp" ];
|
pythonImportsCheck = [
|
||||||
|
"azure.common"
|
||||||
|
"azure.mgmt.netapp"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Microsoft Azure NetApp Files Management Client Library for Python";
|
description = "Microsoft Azure NetApp Files Management Client Library for Python";
|
||||||
|
|
Loading…
Reference in a new issue