python3Packages.azure-mgmt-network: 11.0.0 -> 16.0.0
This commit is contained in:
parent
681b44656a
commit
1f646188a2
1 changed files with 16 additions and 10 deletions
|
@ -1,37 +1,43 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, azure-common
|
||||||
, azure-mgmt-common
|
, azure-mgmt-common
|
||||||
, python
|
, azure-mgmt-core
|
||||||
|
, msrest
|
||||||
|
, msrestazure
|
||||||
, isPy3k
|
, isPy3k
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "11.0.0";
|
version = "16.0.0";
|
||||||
pname = "azure-mgmt-network";
|
pname = "azure-mgmt-network";
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
extension = "zip";
|
extension = "zip";
|
||||||
sha256 = "7fdfc631c660cb173eee88abbb7b8be7742f91b522be6017867f217409cd69bc";
|
sha256 = "6159a8c44590cc58841690c27c7d4acb0cd9ad0a1e5178c1d35e0f48e3c3c0e9";
|
||||||
};
|
};
|
||||||
|
|
||||||
postInstall = if isPy3k then "" else ''
|
|
||||||
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
|
|
||||||
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
azure-mgmt-common
|
azure-common
|
||||||
|
azure-mgmt-core
|
||||||
|
msrest
|
||||||
|
msrestazure
|
||||||
];
|
];
|
||||||
|
|
||||||
# has no tests
|
# has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonNamespaces = [ "azure.mgmt" ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "azure.mgmt.network" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Microsoft Azure SDK for Python";
|
description = "Microsoft Azure SDK for Python";
|
||||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ olcai mwilsoninsight ];
|
maintainers = with maintainers; [ olcai mwilsoninsight jonringer ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue