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

39 lines
817 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, msrest
, msrestazure
, azure-common
, azure-mgmt-nspkg
, isPy3k
}:
buildPythonPackage rec {
pname = "azure-mgmt-eventgrid";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "9a1da1085d39163b13dee14215b02f18eab93ede10ffe83dc6030ecf2163d2f1";
};
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 EventGrid Management Client Library";
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/event-grid?view=azure-python;
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};
}