Unverified Commit c0eed586 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python312Packages.unifi-ap: init at 0.0.1 (#342679)

parents 1c619886 d57c6374
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  paramiko,
}:

buildPythonPackage rec {
  pname = "unifi-ap";
  version = "0.0.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "tofuSCHNITZEL";
    repo = "unifi_ap";
    rev = "v${version}";
    hash = "sha256-dEaDRcQEx+n+zvxVHD58B1AdFj004L76AtVDesnP+gQ=";
  };

  build-system = [
    setuptools
  ];

  pythonRelaxDeps = [ "paramiko" ];

  dependencies = [
    paramiko
  ];

  pythonImportsCheck = [
    "unifi_ap"
  ];

  doCheck = false; # no tests

  meta = {
    changelog = "https://github.com/tofuSCHNITZEL/unifi_ap/releases/tag/v${version}";
    description = "Python API for UniFi accesspoints";
    homepage = "https://github.com/tofuSCHNITZEL/unifi_ap";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ ];
  };
}
+2 −1
Original line number Diff line number Diff line
@@ -4494,7 +4494,8 @@
      aiounifi
    ];
    "unifi_direct" = ps: with ps; [
    ]; # missing inputs: unifi_ap
      unifi-ap
    ];
    "unifiled" = ps: with ps; [
      unifiled
    ];
+2 −0
Original line number Diff line number Diff line
@@ -16862,6 +16862,8 @@ self: super: with self; {
  unifi = callPackage ../development/python-modules/unifi { };
  unifi-ap = callPackage ../development/python-modules/unifi-ap { };
  unifi-discovery = callPackage ../development/python-modules/unifi-discovery { };
  unify = callPackage ../development/python-modules/unify { };