mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
python310Packages.azure-mgmt-network: disable on older Python releases
This commit is contained in:
parent
2cd74fc154
commit
7d045a76dd
@ -5,18 +5,20 @@
|
||||
, azure-mgmt-core
|
||||
, msrest
|
||||
, msrestazure
|
||||
, isPy3k
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "20.0.0";
|
||||
pname = "azure-mgmt-network";
|
||||
disabled = !isPy3k;
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "sha256-mnjPyCAJ+rlNgZ4umSYjfVVVg83EobZYY/zupyDjdoY=";
|
||||
hash = "sha256-mnjPyCAJ+rlNgZ4umSYjfVVVg83EobZYY/zupyDjdoY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -26,12 +28,16 @@ buildPythonPackage rec {
|
||||
msrestazure
|
||||
];
|
||||
|
||||
# has no tests
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonNamespaces = [ "azure.mgmt" ];
|
||||
pythonNamespaces = [
|
||||
"azure.mgmt"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "azure.mgmt.network" ];
|
||||
pythonImportsCheck = [
|
||||
"azure.mgmt.network"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure SDK for Python";
|
||||
|
Loading…
Reference in New Issue
Block a user