46 lines
903 B
Nix
46 lines
903 B
Nix
{
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
colorlog,
|
|
fetchFromGitHub,
|
|
lib,
|
|
python-dateutil,
|
|
setuptools,
|
|
websockets,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "livisi";
|
|
version = "1.0.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "planbnet";
|
|
repo = "livisi";
|
|
tag = "v${version}";
|
|
hash = "sha256-5TRJfI4irg2/ZxpfgzShXE08HWU2aWLR8zGbrZKpwbc=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
colorlog
|
|
python-dateutil
|
|
websockets
|
|
];
|
|
|
|
pythonImportsCheck = [ "livisi" ];
|
|
|
|
# upstream has no tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/planbnet/livisi/releases/tag/${src.tag}";
|
|
description = "Connection library for the abandoned Livisi Smart Home system";
|
|
homepage = "https://github.com/planbnet/livisi";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|