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

54 lines
1 KiB
Nix

{
aiohttp,
beautifulsoup4,
buildPythonPackage,
colorlog,
fetchFromGitHub,
langcodes,
lib,
orjson,
poetry-core,
pytest-cov-stub,
pytestCheckHook,
python-dateutil,
}:
buildPythonPackage rec {
pname = "aioamazondevices";
version = "8.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "chemelli74";
repo = "aioamazondevices";
tag = "v${version}";
hash = "sha256-q8wmBBXZSu69BAZ1wY4/tlW/usiWwlwVCnAEOOZs5TE=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
beautifulsoup4
colorlog
langcodes
orjson
python-dateutil
];
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 ];
};
}