blob: aa2629ff2d8023520a2dd51c84cab1aad94cefda (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
requests,
requests-oauthlib,
pythonOlder,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "homeconnect";
version = "0.7.4";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-lkal6Dy4cRRZ893I3/jyQ3+sDZMrHN0UMGff0ab4pvk=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
requests
requests-oauthlib
six
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "homeconnect" ];
meta = with lib; {
description = "Python client for the BSH Home Connect REST API";
homepage = "https://github.com/DavidMStraub/homeconnect";
changelog = "https://github.com/DavidMStraub/homeconnect/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|