159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
44 lines
832 B
Nix
44 lines
832 B
Nix
{
|
|
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; [ ];
|
|
};
|
|
}
|