Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
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 ];
|
|
};
|
|
}
|