4cb23072fc
GitOrigin-RevId: 6d8215281b2f87a5af9ed7425a26ac575da0438f
37 lines
828 B
Nix
37 lines
828 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
, azure-common
|
|
, azure-mgmt-core
|
|
, msrest
|
|
, msrestazure
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "3.0.0";
|
|
pname = "azure-mgmt-apimanagement";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "9262f54ed387eb083d8dae66d32a8df35647319b902bd498cdc376f50a12d154";
|
|
extension = "zip";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
azure-common
|
|
azure-mgmt-core
|
|
msrest
|
|
msrestazure
|
|
];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|