Files
nixpkgs/pkgs/development/python-modules/aioamazondevices/default.nix
T

56 lines
1.0 KiB
Nix

{
aiohttp,
babel,
beautifulsoup4,
buildPythonPackage,
colorlog,
fetchFromGitHub,
httpx,
lib,
orjson,
poetry-core,
pytest-cov-stub,
pytestCheckHook,
yarl,
}:
buildPythonPackage rec {
pname = "aioamazondevices";
version = "3.1.14";
pyproject = true;
src = fetchFromGitHub {
owner = "chemelli74";
repo = "aioamazondevices";
tag = "v${version}";
hash = "sha256-xCXzNeUIw2UxBcOMgab1lpN9/0RGLZAwgtHkZhwqxxY=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
babel
beautifulsoup4
colorlog
httpx
orjson
yarl
];
pythonImportsCheck = [ "aioamazondevices" ];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
meta = {
changelog = "https://github.com/chemelli74/aioamazondevices/blob/${src.tag}/CHANGELOG.md";
description = "Python library to control Amazon devices";
homepage = "https://github.com/chemelli74/aioamazondevices";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}