Skip to content

Commit c0eed58

Browse files
authored
python312Packages.unifi-ap: init at 0.0.1 (#342679)
2 parents 1c61988 + d57c637 commit c0eed58

File tree

3 files changed

+48
-1
lines changed

3 files changed

+48
-1
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
setuptools,
6+
paramiko,
7+
}:
8+
9+
buildPythonPackage rec {
10+
pname = "unifi-ap";
11+
version = "0.0.1";
12+
pyproject = true;
13+
14+
src = fetchFromGitHub {
15+
owner = "tofuSCHNITZEL";
16+
repo = "unifi_ap";
17+
rev = "v${version}";
18+
hash = "sha256-dEaDRcQEx+n+zvxVHD58B1AdFj004L76AtVDesnP+gQ=";
19+
};
20+
21+
build-system = [
22+
setuptools
23+
];
24+
25+
pythonRelaxDeps = [ "paramiko" ];
26+
27+
dependencies = [
28+
paramiko
29+
];
30+
31+
pythonImportsCheck = [
32+
"unifi_ap"
33+
];
34+
35+
doCheck = false; # no tests
36+
37+
meta = {
38+
changelog = "https://github.com/tofuSCHNITZEL/unifi_ap/releases/tag/v${version}";
39+
description = "Python API for UniFi accesspoints";
40+
homepage = "https://github.com/tofuSCHNITZEL/unifi_ap";
41+
license = lib.licenses.mit;
42+
maintainers = with lib.maintainers; [ ];
43+
};
44+
}

pkgs/servers/home-assistant/component-packages.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4494,7 +4494,8 @@
44944494
aiounifi
44954495
];
44964496
"unifi_direct" = ps: with ps; [
4497-
]; # missing inputs: unifi_ap
4497+
unifi-ap
4498+
];
44984499
"unifiled" = ps: with ps; [
44994500
unifiled
45004501
];

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16862,6 +16862,8 @@ self: super: with self; {
1686216862

1686316863
unifi = callPackage ../development/python-modules/unifi { };
1686416864

16865+
unifi-ap = callPackage ../development/python-modules/unifi-ap { };
16866+
1686516867
unifi-discovery = callPackage ../development/python-modules/unifi-discovery { };
1686616868

1686716869
unify = callPackage ../development/python-modules/unify { };

0 commit comments

Comments
 (0)