blob: 9528dca90a5efcce43330a14def7b6586998eb4d (
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
|
{
lib,
aiohttp,
async-timeout,
buildPythonPackage,
click,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "dingz";
version = "0.5.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "home-assistant-ecosystem";
repo = "python-dingz";
rev = version;
hash = "sha256-bCytQwLWw8D1UkKb/3LQ301eDCkVR4alD6NHjTs6I+4=";
};
propagatedBuildInputs = [
aiohttp
async-timeout
click
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "dingz" ];
meta = {
description = "Python API for interacting with Dingz devices";
mainProgram = "dingz";
homepage = "https://github.com/home-assistant-ecosystem/python-dingz";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|