1{ lib
2, aiohttp
3, buildPythonPackage
4, fetchFromGitHub
5}:
6
7buildPythonPackage rec {
8 pname = "pyintesishome";
9 version = "1.8.1";
10
11 src = fetchFromGitHub {
12 owner = "jnimmo";
13 repo = "pyIntesisHome";
14 rev = version;
15 sha256 = "sha256-+bad3VIoP0sVw0blK9YIot2GfK5de4HTXv5/ipV2Nds=";
16 };
17
18 propagatedBuildInputs = [
19 aiohttp
20 ];
21
22 # Project has no tests
23 doCheck = false;
24 pythonImportsCheck = [ "pyintesishome" ];
25
26 meta = with lib; {
27 description = "Python interface for IntesisHome devices";
28 homepage = "https://github.com/jnimmo/pyIntesisHome";
29 license = with licenses; [ mit ];
30 maintainers = with maintainers; [ fab ];
31 };
32}