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