nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 azure-common,
4 azure-core,
5 buildPythonPackage,
6 fetchPypi,
7 isodate,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "azure-eventgrid";
13 version = "4.22.0";
14 pyproject = true;
15
16 src = fetchPypi {
17 pname = "azure_eventgrid";
18 inherit version;
19 hash = "sha256-SrR+DVDqSf/4PbA1giwzZ8oc79YCSQm6EJdSzFS/DmM=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 azure-common
26 azure-core
27 isodate
28 ];
29
30 # Module has no tests
31 doCheck = false;
32
33 pythonImportsCheck = [ "azure.eventgrid" ];
34
35 meta = {
36 description = "Fully-managed intelligent event routing service that allows for uniform event consumption using a publish-subscribe model";
37 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventgrid/azure-eventgrid";
38 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-eventgrid_${version}/sdk/eventgrid/azure-eventgrid/CHANGELOG.md";
39 license = lib.licenses.mit;
40 maintainers = with lib.maintainers; [ maxwilson ];
41 };
42}