Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 48 lines
Nix
at gcc-offload
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub, pydantic, pytestCheckHook, pythonOlder, requests, setuptools, websocket-client,}:
buildPythonPackage rec { pname = "dirigera"; version = "1.2.2"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "Leggin"; repo = "dirigera"; rev = "refs/tags/v${version}"; hash = "sha256-f5+9uDS8WfGjWWYf0wUEPM6ZitQpKPJIjAj1WhyyWEM="; };
build-system = [ setuptools ];
dependencies = [ pydantic requests websocket-client ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dirigera" ];
meta = with lib; { description = "Module for controlling the IKEA Dirigera Smart Home Hub"; homepage = "https://github.com/Leggin/dirigera"; changelog = "https://github.com/Leggin/dirigera/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; mainProgram = "generate-token"; broken = versionOlder pydantic.version "2"; };}