Commit 3ea0546f authored by salko-ua's avatar salko-ua
Browse files

python3Packages.apykuma: init at 1.2.0

parent ed4f956f
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  poetry-core,
  aiohttp,
}:

buildPythonPackage rec {
  pname = "apykuma";
  version = "1.2.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "PerchunPak";
    repo = "apykuma";
    tag = "v${version}";
    hash = "sha256-Dxlyi0syoq+sfgjMLWHhpeKhDFgpfQrp18DJeBjrAEg=";
  };

  build-system = [
    poetry-core
  ];

  dependencies = [
    aiohttp
  ];

  # has no tests
  doCheck = false;

  pythonImportsCheck = [
    "apykuma"
  ];

  meta = {
    description = "Small library to notify Uptime Kuma that the service is up";
    homepage = "https://github.com/PerchunPak/apykuma";
    changelog = "https://github.com/PerchunPak/apykuma/blob/v${version}/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ perchun ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -756,6 +756,8 @@ self: super: with self; {
  apycula = callPackage ../development/python-modules/apycula { };
  apykuma = callPackage ../development/python-modules/apykuma { };
  aqipy-atmotech = callPackage ../development/python-modules/aqipy-atmotech { };
  aqualogic = callPackage ../development/python-modules/aqualogic { };