python312Packages.unifi-ap: init at 0.0.1

This commit is contained in:
Martin Weinelt
2024-09-18 01:52:42 +02:00
parent c569434559
commit c5bf3cb87e
2 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
{
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; [ ];
};
}

View File

@@ -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 { };