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

45 lines
883 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, msrest
, azure-common
, azure-core
, msrestazure
, pythonOlder
}:
buildPythonPackage rec {
pname = "azure-eventgrid";
version = "4.9.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-zRiS5XsinEQoyYsg2PSso3Y2pC7QwB1fbVkCF1OeQ3U=";
};
propagatedBuildInputs = [
azure-common
azure-core
msrest
msrestazure
];
# has no tests
doCheck = false;
pythonImportsCheck = [
"azure.eventgrid"
];
meta = with lib; {
description = "A fully-managed intelligent event routing service that allows for uniform event consumption using a publish-subscribe model";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
};
}