2021-04-09 17:03:10 +02:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyintesishome";
|
2021-10-17 08:56:35 +02:00
|
|
|
version = "1.8.1";
|
2021-04-09 17:03:10 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jnimmo";
|
|
|
|
repo = "pyIntesisHome";
|
|
|
|
rev = version;
|
2021-10-17 08:56:35 +02:00
|
|
|
sha256 = "sha256-+bad3VIoP0sVw0blK9YIot2GfK5de4HTXv5/ipV2Nds=";
|
2021-04-09 17:03:10 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pyintesishome" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python interface for IntesisHome devices";
|
|
|
|
homepage = "https://github.com/jnimmo/pyIntesisHome";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|