zizmor: 1.0.0 -> 1.0.1 (#371951)
[NixPkgs.git] / pkgs / development / python-modules / azure-monitor-ingestion / default.nix
blobe77ae5df94d3de64791c217f264ead08e9414765
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchPypi,
6   setuptools,
7   azure-core,
8   isodate,
9   typing-extensions,
12 buildPythonPackage rec {
13   pname = "azure-monitor-ingestion";
14   version = "1.0.4";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-JU11mTof5wfRmPAUrvWhT6pXDO5zabNbsDriqo+Zvnk=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   propagatedBuildInputs = [
27     azure-core
28     isodate
29     typing-extensions
30   ];
32   pythonImportsCheck = [
33     "azure.monitor.ingestion"
34     "azure.monitor.ingestion.aio"
35   ];
37   # requires checkout from mono-repo and a mock account
38   doCheck = false;
40   meta = with lib; {
41     changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-ingestion_${version}/sdk/monitor/azure-monitor-ingestion/CHANGELOG.md";
42     description = "Send custom logs to Azure Monitor using the Logs Ingestion API";
43     homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/monitor/azure-monitor-ingestion";
44     license = licenses.mit;
45     maintainers = with maintainers; [ dotlambda ];
46   };