blob: 8a59fd24fbec8a790d8cd7e82af8fb33be03c3a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{
lib,
aiohttp,
buildPythonPackage,
faker,
fetchFromGitHub,
pytest-aiohttp,
pytest-mock,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "aiolookin";
version = "1.0.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "ANMalko";
repo = "aiolookin";
tag = "v${version}";
hash = "sha256-G3/lUgV60CMLskUo83TlvLLIfJtu5DEz+94mdVI4OrI=";
};
propagatedBuildInputs = [ aiohttp ];
doCheck = false; # all tests are async and no async plugin is configured
nativeCheckInputs = [
faker
pytest-aiohttp
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [ "aiolookin" ];
meta = {
description = "Python client for interacting with LOOKin devices";
homepage = "https://github.com/ANMalko/aiolookin";
changelog = "https://github.com/ANMalko/aiolookin/blob/v${version}/CHANGELOG.md";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|