python3Packages.pythonkuma: init at 0.3.1

This commit is contained in:
Jamie Magee
2025-08-09 15:48:31 -07:00
parent 5a357d2278
commit 2cb2aaaf22
2 changed files with 54 additions and 0 deletions
@@ -0,0 +1,52 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
hatch-regex-commit,
hatchling,
mashumaro,
prometheus-client,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pythonkuma";
version = "0.3.1";
pyproject = true;
disabled = pythonOlder "3.12";
src = fetchFromGitHub {
owner = "tr4nt0r";
repo = "pythonkuma";
tag = "v${version}";
hash = "sha256-1coD4bDLMWQLvN3zt/++hmut0DLdg7aAKz5HtDhomso=";
};
build-system = [
hatch-regex-commit
hatchling
];
dependencies = [
aiohttp
mashumaro
prometheus-client
];
# Tests are minimal and don't test functionality
doCheck = false;
pythonImportsCheck = [
"pythonkuma"
];
meta = {
description = "Simple Python wrapper for Uptime Kuma";
homepage = "https://github.com/tr4nt0r/pythonkuma";
changelog = "https://github.com/tr4nt0r/pythonkuma/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
+2
View File
@@ -14928,6 +14928,8 @@ self: super: with self; {
meson = pkgs.meson.override { python3 = self.python; };
};
pythonkuma = callPackage ../development/python-modules/pythonkuma { };
pythonnet = callPackage ../development/python-modules/pythonnet { };
pythonocc-core = toPythonModule (