mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #212940 from JulienMalka/uptime-kuma-api
python3Packages.uptime-kuma-api: init at 0.9.0
This commit is contained in:
commit
d6be13eca8
38
pkgs/development/python-modules/uptime-kuma-api/default.nix
Normal file
38
pkgs/development/python-modules/uptime-kuma-api/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python-socketio
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "uptime-kuma-api";
|
||||
version = "0.9.0";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "uptime_kuma_api";
|
||||
inherit version;
|
||||
hash = "sha256-nbRBsG4Mietd6kcrvpbTbWUP0SMRXbW4mWme1G5n3ks=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python-socketio
|
||||
python-socketio.optional-dependencies.client
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"uptime_kuma_api"
|
||||
];
|
||||
|
||||
# Tests need an uptime-kuma instance to run
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python wrapper for the Uptime Kuma Socket.IO API";
|
||||
homepage = "https://github.com/lucasheld/uptime-kuma-api";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ julienmalka ];
|
||||
};
|
||||
}
|
@ -11884,6 +11884,8 @@ self: super: with self; {
|
||||
|
||||
uptime = callPackage ../development/python-modules/uptime { };
|
||||
|
||||
uptime-kuma-api = callPackage ../development/python-modules/uptime-kuma-api { };
|
||||
|
||||
uptime-kuma-monitor = callPackage ../development/python-modules/uptime-kuma-monitor { };
|
||||
|
||||
uranium = callPackage ../development/python-modules/uranium { };
|
||||
|
Loading…
Reference in New Issue
Block a user