blob: fa9ae0c915b9e350971330701e5ffbe4ab7c21bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
paramiko,
}:
buildPythonPackage rec {
pname = "unifi-ap";
version = "0.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "tofuSCHNITZEL";
repo = "unifi_ap";
tag = "v${version}";
hash = "sha256-LQqeXFtrOc1h3yJuDrFRt3mqVcDIJb/23rcu/l6YpUQ=";
};
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 = [ ];
};
}
|