Merge pull request #294288 from fabaff/dirigera
python311Packages.dirigera: init at 1.0.10
This commit is contained in:
commit
4121b6af0d
51
pkgs/development/python-modules/dirigera/default.nix
Normal file
51
pkgs/development/python-modules/dirigera/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pydantic
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, setuptools
|
||||
, websocket-client
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dirigera";
|
||||
version = "1.0.10";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Leggin";
|
||||
repo = "dirigera";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-FuytNb+AiimKZPhX7qaxKvM4Y9NofvrzMGLW1PPu3Cw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -2932,6 +2932,8 @@ self: super: with self; {
|
||||
|
||||
directv = callPackage ../development/python-modules/directv { };
|
||||
|
||||
dirigera = callPackage ../development/python-modules/dirigera { };
|
||||
|
||||
dirty-equals = callPackage ../development/python-modules/dirty-equals { };
|
||||
|
||||
dirtyjson = callPackage ../development/python-modules/dirtyjson { };
|
||||
|
Loading…
Reference in New Issue
Block a user