mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
43f700c41a
Diff: https://gitlab.com/keatontaylor/alexapy/-/compare/refs/tags/v1.27.10...v1.28.0 Changelog: https://gitlab.com/keatontaylor/alexapy/-/blob/v1.28.0/CHANGELOG.md
67 lines
1.3 KiB
Nix
67 lines
1.3 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.28.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.10";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "keatontaylor";
|
|
repo = "alexapy";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-sRTK3qaIiYxz9Z+LT2pFjqKXBHyr3EkSD4dtc+KXFQw=";
|
|
};
|
|
|
|
pythonRelaxDeps = [ "aiofiles" ];
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
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 = with lib; {
|
|
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 = licenses.asl20;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|