Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / azure-monitor-ingestion / default.nix
blob7058a1bddbea2bcf8b1c4913baaf128aa48a2b26
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchPypi
5 , setuptools
6 , azure-core
7 , isodate
8 , typing-extensions
9 }:
11 buildPythonPackage rec {
12   pname = "azure-monitor-ingestion";
13   version = "1.0.3";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-idAEqP+HaZs/0fzyBaqO8enTTySg88w3TSIUceiYdDs=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   propagatedBuildInputs = [
28     azure-core
29     isodate
30     typing-extensions
31   ];
33   pythonImportsCheck = [
34     "azure.monitor.ingestion"
35     "azure.monitor.ingestion.aio"
36   ];
38   # requires checkout from mono-repo and a mock account
39   doCheck = false;
41   meta = with lib; {
42     changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-ingestion_${version}/sdk/monitor/azure-monitor-ingestion/CHANGELOG.md";
43     description = "Send custom logs to Azure Monitor using the Logs Ingestion API";
44     homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/monitor/azure-monitor-ingestion";
45     license = licenses.mit;
46     maintainers = with maintainers; [ dotlambda ];
47   };