nixpkgs/pkgs/development/python-modules/azure-mgmt-kusto/azure-mgmt-apimanagement/default.nix

32 lines
776 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy27
, azure-common
, msrest
, msrestazure
}:
buildPythonPackage rec {
version = "2.1.0";
pname = "azure-mgmt-apimanagement";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "58296bd45e876df33f93f3a41c866c36476f5f3bd46818e8891308794f041c94";
extension = "zip";
};
propagatedBuildInputs = [ azure-common 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 ];
};
}