blob: a8ca7bed615a703897866ebf4a5949b3eaa70365 (
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
|
{
lib,
buildPythonPackage,
cachetools,
fetchFromGitHub,
paho-mqtt,
pytz,
requests,
requests-oauthlib,
schedule,
}:
buildPythonPackage rec {
pname = "pysmappee";
version = "0.2.29";
format = "setuptools";
src = fetchFromGitHub {
owner = "smappee";
repo = "pysmappee";
rev = version;
hash = "sha256-Ffi55FZsZUKDcS4qV46NpRK3VP6axzrL2BO+hYW7J9E=";
};
propagatedBuildInputs = [
cachetools
paho-mqtt
pytz
requests
requests-oauthlib
schedule
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pysmappee" ];
meta = {
description = "Python Library for the Smappee dev API";
homepage = "https://github.com/smappee/pysmappee";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|