dotnet: improve language coverage of passthru.tests for dotnet sdks (#370789)
[NixPkgs.git] / pkgs / development / python-modules / uptime-kuma-api / default.nix
blob7d1e6cb975f6af178044ed2249e4b876e54a7a30
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   packaging,
6   python-socketio,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "uptime-kuma-api";
12   version = "1.2.1";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     pname = "uptime_kuma_api";
19     inherit version;
20     hash = "sha256-tZ5ln3sy6W5RLcwjzLbhobCNLbHXIhXIzrcOVCG+Z+E=";
21   };
23   propagatedBuildInputs = [
24     packaging
25     python-socketio
26     python-socketio.optional-dependencies.client
27   ];
29   pythonImportsCheck = [ "uptime_kuma_api" ];
31   # Tests need an uptime-kuma instance to run
32   doCheck = false;
34   meta = with lib; {
35     description = "Python wrapper for the Uptime Kuma Socket.IO API";
36     homepage = "https://github.com/lucasheld/uptime-kuma-api";
37     changelog = "https://github.com/lucasheld/uptime-kuma-api/blob/${version}/CHANGELOG.md";
38     license = with licenses; [ mit ];
39     maintainers = with maintainers; [ julienmalka ];
40   };