Files
nixpkgs/pkgs/development/python-modules/aioasuswrt/default.nix
T
2025-10-17 20:08:12 -07:00

46 lines
926 B
Nix

{
lib,
asyncssh,
buildPythonPackage,
fetchFromGitHub,
pytest-cov-stub,
pytest-asyncio,
pytest-mock,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "aioasuswrt";
version = "1.5.1";
pyproject = true;
src = fetchFromGitHub {
owner = "kennedyshead";
repo = "aioasuswrt";
tag = "v${version}";
hash = "sha256-4bVDho1JtNoWW3ueDgfu+GfRtrxWP6XxIK5R3BXgqfQ=";
};
build-system = [ setuptools ];
dependencies = [ asyncssh ];
nativeCheckInputs = [
pytest-asyncio
pytest-cov-stub
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [ "aioasuswrt" ];
meta = with lib; {
description = "Python module for Asuswrt";
homepage = "https://github.com/kennedyshead/aioasuswrt";
changelog = "https://github.com/kennedyshead/aioasuswrt/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}