depot/third_party/nixpkgs/pkgs/development/python-modules/unifi-ap/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

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; [ ];
};
}