Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

67 lines
1.2 KiB
Nix

{
lib,
aiofiles,
aiohttp,
authcaptureproxy,
backoff,
beautifulsoup4,
buildPythonPackage,
certifi,
cryptography,
fetchFromGitLab,
poetry-core,
pyotp,
pythonOlder,
requests,
simplejson,
yarl,
}:
buildPythonPackage rec {
pname = "alexapy";
version = "1.29.8";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitLab {
owner = "keatontaylor";
repo = "alexapy";
tag = "v${version}";
hash = "sha256-AmczPJK7v1ymRT3XUUNzFR8GmDr9eZYGRH2FL3RvPsE=";
};
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/v${version}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}