python3Packages.azure-mgmt-monitor: disable on older Python releases
This commit is contained in:
parent
83322df547
commit
2395dc3ae4
|
@ -1,22 +1,24 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy3k
|
, pythonOlder
|
||||||
, msrest
|
, msrest
|
||||||
, msrestazure
|
, msrestazure
|
||||||
, azure-common
|
, azure-common
|
||||||
, azure-mgmt-core
|
, azure-mgmt-core
|
||||||
, azure-mgmt-nspkg
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "azure-mgmt-monitor";
|
pname = "azure-mgmt-monitor";
|
||||||
version = "3.1.0";
|
version = "3.1.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
extension = "zip";
|
extension = "zip";
|
||||||
sha256 = "sha256-ROcUAm0KgIjO2A2XBpS00IeEPgd8x4cjoMfn6X9C+Gw=";
|
hash = "sha256-ROcUAm0KgIjO2A2XBpS00IeEPgd8x4cjoMfn6X9C+Gw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -24,13 +26,13 @@ buildPythonPackage rec {
|
||||||
msrestazure
|
msrestazure
|
||||||
azure-common
|
azure-common
|
||||||
azure-mgmt-core
|
azure-mgmt-core
|
||||||
] ++ lib.optionals (!isPy3k) [
|
|
||||||
azure-mgmt-nspkg
|
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonNamespaces = [ "azure.mgmt" ];
|
pythonNamespaces = [
|
||||||
|
"azure.mgmt"
|
||||||
|
];
|
||||||
|
|
||||||
# has no tests
|
# Module has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue