blob: edc502120ecf54b92abfef8b6755c4f3fc852a60 (
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
45
46
47
48
49
50
51
52
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
aiohttp,
sensor-state-data,
pytestCheckHook,
pytest-asyncio,
pytest-cov-stub,
}:
buildPythonPackage (finalAttrs: {
pname = "anova-wifi";
version = "2.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Lash-L";
repo = "anova_wifi";
tag = "v${finalAttrs.version}";
hash = "sha256-StQ3kQTeYf+MfoTmbKR+G9wZoGyzjKkzuiR5xpDnoto=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
sensor-state-data
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
pytest-cov-stub
];
disabledTests = [
# Makes network calls
"test_async_data_1"
];
pythonImportsCheck = [ "anova_wifi" ];
meta = {
description = "Python package for reading anova sous vide api data";
homepage = "https://github.com/Lash-L/anova_wifi";
changelog = "https://github.com/Lash-L/anova_wifi/releases/tag/${finalAttrs.src.tag}";
maintainers = with lib.maintainers; [ jamiemagee ];
license = lib.licenses.mit;
};
})
|