blob: fd4ee04d2abd01964d3570a43e3b9f215eb7877c (
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
|
{
buildPythonPackage,
fetchFromGitHub,
lib,
paho-mqtt,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "pyephember2";
version = "2";
pyproject = true;
src = fetchFromGitHub {
owner = "roberty99";
repo = "pyephember2";
tag = "Release${version}";
hash = "sha256-BxDXjrXPx6UNWo7mGLzbIGtenE0B10x39iCUCzGFAr0=";
};
build-system = [ setuptools ];
dependencies = [
paho-mqtt
requests
];
pythonImportsCheck = [ "pyephember2" ];
# upstream has no tests
doCheck = false;
meta = {
changelog = "https://github.com/roberty99/pyephember2/releases/tag/${src.tag}";
description = "Python library to work with ember from EPH Controls";
homepage = "https://github.com/ttroy50/pyephember";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|