Something went wrong. Try again.
lol
Something went wrong. Try again.
921 B · 48 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub, bleak, pyyaml, voluptuous, pytestCheckHook, pytest-asyncio, poetry-core,}:
buildPythonPackage rec { pname = "idasen"; version = "0.12.0"; pyproject = true;
src = fetchFromGitHub { owner = "newAM"; repo = "idasen"; tag = "v${version}"; hash = "sha256-TQ+DBFpG+IeZ4/dN+YKMw3AM4Dl1rpqA1kRcb3Tb3jA="; };
build-system = [ poetry-core ];
dependencies = [ bleak pyyaml voluptuous ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio ];
pythonImportsCheck = [ "idasen" ];
meta = { description = "Python API and CLI for the ikea IDÅSEN desk"; mainProgram = "idasen"; homepage = "https://github.com/newAM/idasen"; changelog = "https://github.com/newAM/idasen/blob/v${version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ newam ]; };}