blob: 0e2fc5a05960800b1708d2c96dfc457e4a5d15f5 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
# build-system
hatchling,
# propagated modules
requests,
python-dateutil,
pycognito,
typing-extensions,
}:
buildPythonPackage rec {
pname = "pyemvue";
version = "0.18.9";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-iHnNR6c/EdKZzqs4zQodfEZ/FMj1j0JRKjktyq/H0o0=";
};
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [
requests
python-dateutil
pycognito
typing-extensions
];
pythonImportsCheck = [ "pyemvue" ];
# has no tests
doCheck = false;
meta = {
changelog = "https://github.com/magico13/PyEmVue/releases/tag/v${version}";
description = "Python library for reading data from the Emporia Vue energy monitoring system";
homepage = "https://github.com/magico13/PyEmVue";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ presto8 ];
};
}
|