2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-10-07 09:15:18 +00:00
|
|
|
, azure-common
|
|
|
|
, azure-mgmt-core
|
|
|
|
, msrest
|
|
|
|
, msrestazure
|
2020-04-24 23:36:52 +00:00
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "19.3.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "azure-mgmt-network";
|
2020-10-07 09:15:18 +00:00
|
|
|
disabled = !isPy3k;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "0b6a1ccdffd76e057ab16a6c319740a0ca68d59fedf7e9c02f2437396e72aa11";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-10-07 09:15:18 +00:00
|
|
|
azure-common
|
|
|
|
azure-mgmt-core
|
|
|
|
msrest
|
|
|
|
msrestazure
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
pythonNamespaces = [ "azure.mgmt" ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "azure.mgmt.network" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Microsoft Azure SDK for Python";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
|
|
license = licenses.mit;
|
2020-11-19 00:13:47 +00:00
|
|
|
maintainers = with maintainers; [ olcai maxwilson jonringer ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|