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

55 lines
1 KiB
Nix

{
aiohttp,
babel,
beautifulsoup4,
buildPythonPackage,
colorlog,
fetchFromGitHub,
httpx,
lib,
orjson,
poetry-core,
pytest-cov-stub,
pytestCheckHook,
yarl,
}:
buildPythonPackage rec {
pname = "aioamazondevices";
version = "3.0.6";
pyproject = true;
src = fetchFromGitHub {
owner = "chemelli74";
repo = "aioamazondevices";
tag = "v${version}";
hash = "sha256-+o3LOp0gSjG1/x5IFA0FK5LQUFG9T6JgDLb104vJcM0=";
};
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 ];
};
}