2019-10-23 05:11:28 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
|
|
, azure-common
|
2021-01-12 00:19:20 +00:00
|
|
|
, azure-mgmt-core
|
2019-10-23 05:11:28 +00:00
|
|
|
, msrest
|
|
|
|
, msrestazure
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-05-06 05:38:21 +00:00
|
|
|
version = "2.0.0";
|
2019-10-23 05:11:28 +00:00
|
|
|
pname = "azure-mgmt-apimanagement";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-05-06 05:38:21 +00:00
|
|
|
sha256 = "54fade87af54904c8ac9785efccebc537c58a3c1f8726e929e473698f06ebbfc";
|
2019-10-23 05:11:28 +00:00
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
|
2021-01-12 00:19:20 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
|
|
|
azure-mgmt-core
|
|
|
|
msrest
|
|
|
|
msrestazure
|
|
|
|
];
|
2019-10-23 05:11:28 +00:00
|
|
|
|
|
|
|
# no tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "azure.common" "azure.mgmt.apimanagement" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Microsoft Azure API Management Client Library for Python";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|