Files
nixpkgs/pkgs/development/python-modules/alexapy/default.nix
T
2026-03-05 23:34:34 +00:00

62 lines
1.2 KiB
Nix

{
lib,
aiofiles,
aiohttp,
authcaptureproxy,
backoff,
beautifulsoup4,
buildPythonPackage,
certifi,
cryptography,
fetchFromGitLab,
poetry-core,
pyotp,
requests,
simplejson,
yarl,
}:
buildPythonPackage (finalAttrs: {
pname = "alexapy";
version = "1.29.19";
pyproject = true;
src = fetchFromGitLab {
owner = "keatontaylor";
repo = "alexapy";
tag = "v${finalAttrs.version}";
hash = "sha256-1PFHIVtFaaYRyOgzqxMCbvbSECK+9T7EuRlQ9CWuv5Y=";
};
pythonRelaxDeps = [ "aiofiles" ];
build-system = [ poetry-core ];
dependencies = [
aiofiles
aiohttp
authcaptureproxy
backoff
beautifulsoup4
certifi
cryptography
pyotp
requests
simplejson
yarl
];
pythonImportsCheck = [ "alexapy" ];
# Module has no tests (only a websocket test which seems unrelated to the module)
doCheck = false;
meta = {
description = "Python Package for controlling Alexa devices (echo dot, etc) programmatically";
homepage = "https://gitlab.com/keatontaylor/alexapy";
changelog = "https://gitlab.com/keatontaylor/alexapy/-/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
})