nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 azure-core,
7 isodate,
8 typing-extensions,
9}:
10
11buildPythonPackage rec {
12 pname = "azure-monitor-ingestion";
13 version = "1.1.0";
14 pyproject = true;
15
16 src = fetchPypi {
17 pname = "azure_monitor_ingestion";
18 inherit version;
19 hash = "sha256-l6/ueA2a4waRKM3ncCfUzGL6gk/mTVusiArEpksKDE4=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 azure-core
26 isodate
27 typing-extensions
28 ];
29
30 pythonImportsCheck = [
31 "azure.monitor.ingestion"
32 "azure.monitor.ingestion.aio"
33 ];
34
35 # requires checkout from mono-repo and a mock account
36 doCheck = false;
37
38 meta = {
39 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-ingestion_${version}/sdk/monitor/azure-monitor-ingestion/CHANGELOG.md";
40 description = "Send custom logs to Azure Monitor using the Logs Ingestion API";
41 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/monitor/azure-monitor-ingestion";
42 license = lib.licenses.mit;
43 maintainers = with lib.maintainers; [ dotlambda ];
44 };
45}