1{
2 aiohttp,
3 beautifulsoup4,
4 buildPythonPackage,
5 colorlog,
6 fetchFromGitHub,
7 langcodes,
8 lib,
9 orjson,
10 poetry-core,
11 pytest-cov-stub,
12 pytestCheckHook,
13 yarl,
14}:
15
16buildPythonPackage rec {
17 pname = "aioamazondevices";
18 version = "6.2.7";
19 pyproject = true;
20
21 src = fetchFromGitHub {
22 owner = "chemelli74";
23 repo = "aioamazondevices";
24 tag = "v${version}";
25 hash = "sha256-gsKqQkJBKu5Of/PFzEt04GEQ9PC7PBqJASYw5ucrrGU=";
26 };
27
28 build-system = [ poetry-core ];
29
30 dependencies = [
31 aiohttp
32 beautifulsoup4
33 colorlog
34 langcodes
35 orjson
36 yarl
37 ];
38
39 pythonImportsCheck = [ "aioamazondevices" ];
40
41 nativeCheckInputs = [
42 pytest-cov-stub
43 pytestCheckHook
44 ];
45
46 meta = {
47 changelog = "https://github.com/chemelli74/aioamazondevices/blob/${src.tag}/CHANGELOG.md";
48 description = "Python library to control Amazon devices";
49 homepage = "https://github.com/chemelli74/aioamazondevices";
50 license = lib.licenses.asl20;
51 maintainers = with lib.maintainers; [ dotlambda ];
52 };
53}