Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 58 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, aioredis, apscheduler, buildPythonPackage, ephem, fetchPypi, hiredis, pytestCheckHook, pythonAtLeast, pytz, pyyaml, setuptools,}:
buildPythonPackage rec { pname = "automate-home"; version = "0.9.1"; pyproject = true;
# Typing issue disabled = pythonAtLeast "3.12";
src = fetchPypi { inherit pname version; hash = "sha256-41qd+KPSrOrczkovwXht3irbcYlYehBZ1HZ44yZe4cM="; };
postPatch = '' # Rename pyephem, https://github.com/majamassarini/automate-home/pull/3 substituteInPlace setup.py \ --replace-fail "pyephem" "ephem" \ --replace-fail "aioredis==1.3.1" "aioredis" '';
build-system = [ setuptools ];
dependencies = [ apscheduler hiredis aioredis ephem pytz pyyaml ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "home" ];
meta = { description = "Python module to automate (home) devices"; homepage = "https://github.com/majamassarini/automate-home"; changelog = "https://github.com/majamassarini/automate-home/releases/tag/${version}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ fab ]; };}