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