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

39 lines
821 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, msrest
, msrestazure
, azure-common
, azure-mgmt-nspkg
, isPy3k
}:
buildPythonPackage rec {
pname = "azure-mgmt-applicationinsights";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1hm6s7vym1y072jqypjgbhps8lza1d5kb8qcpyxnw4zsmsvshdp5";
};
propagatedBuildInputs = [
msrest
msrestazure
azure-common
] ++ lib.optionals (!isPy3k) [
azure-mgmt-nspkg
];
# has no tests
doCheck = false;
meta = with lib; {
description = "This is the Microsoft Azure Application Insights Management Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-applicationinsights;
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};
}