python3Packages.uptime-kuma-monitor: init at 1.0.0
This commit is contained in:
parent
75b6455294
commit
ea81ce6ff5
2 changed files with 42 additions and 0 deletions
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, requests
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, prometheus-client
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "uptime-kuma-monitor";
|
||||
version = "1.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "uptime_kuma_monitor";
|
||||
inherit version;
|
||||
sha256 = "0zi4856hj5ar4yidh7366kx3xnh8qzydw9z8vlalcn98jf3jlnk9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
prometheus-client
|
||||
];
|
||||
|
||||
# Project has no test
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"uptime_kuma_monitor"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python wrapper around UptimeKuma /metrics endpoint";
|
||||
homepage = "https://github.com/meichthys/utptime_kuma_monitor";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -9634,6 +9634,8 @@ in {
|
|||
|
||||
uptime = callPackage ../development/python-modules/uptime { };
|
||||
|
||||
uptime-kuma-monitor = callPackage ../development/python-modules/uptime-kuma-monitor { };
|
||||
|
||||
uranium = callPackage ../development/python-modules/uranium { };
|
||||
|
||||
uritemplate = callPackage ../development/python-modules/uritemplate { };
|
||||
|
|
Loading…
Reference in a new issue