Files
nixpkgs/pkgs/development/python-modules/halohome/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

49 lines
936 B
Nix

{
lib,
aiohttp,
bleak,
buildPythonPackage,
csrmesh,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "halohome";
version = "0.7.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "nayaverdier";
repo = "halohome";
tag = version;
hash = "sha256-JOQ2q5lbdVTerXPt6QHBiTG9PzN9LiuLcN+XnOoyYjA=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
bleak
csrmesh
];
pythonRelaxDeps = [ "bleak" ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "halohome" ];
meta = {
description = "Python library to control Eaton HALO Home Smart Lights";
homepage = "https://github.com/nayaverdier/halohome";
changelog = "https://github.com/nayaverdier/halohome/blob/${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}