mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 14:08:04 +00:00
home-assistant: support idasen_desk component (#337793)
This commit is contained in:
commit
755ccd82a6
41
pkgs/development/python-modules/idasen-ha/default.nix
Normal file
41
pkgs/development/python-modules/idasen-ha/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
idasen,
|
||||
lib,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "idasen-ha";
|
||||
version = "2.6.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "abmantis";
|
||||
repo = "idasen-ha";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-lqqSx4jxQVq2pjVv9lvaX6nNK6OqtMjPqOtLMLpVMUU=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ idasen ];
|
||||
|
||||
pythonImportsCheck = [ "idasen_ha" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/abmantis/idasen-ha/releases/tag/${version}";
|
||||
description = "Home Assistant helper lib for the IKEA Idasen Desk integration";
|
||||
homepage = "https://github.com/abmantis/idasen-ha";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -14,7 +14,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "idasen";
|
||||
version = "0.12.0";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
@ -25,9 +25,9 @@ buildPythonPackage rec {
|
||||
hash = "sha256-TQ+DBFpG+IeZ4/dN+YKMw3AM4Dl1rpqA1kRcb3Tb3jA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
bleak
|
||||
pyyaml
|
||||
voluptuous
|
||||
|
@ -1821,13 +1821,14 @@
|
||||
habluetooth
|
||||
hassil
|
||||
home-assistant-intents
|
||||
idasen-ha
|
||||
ifaddr
|
||||
mutagen
|
||||
pymicro-vad
|
||||
pyserial
|
||||
pyudev
|
||||
zeroconf
|
||||
]; # missing inputs: idasen-ha
|
||||
];
|
||||
"idteck_prox" = ps: with ps; [
|
||||
]; # missing inputs: rfk101py
|
||||
"ifttt" = ps: with ps; [
|
||||
@ -5164,6 +5165,7 @@
|
||||
"iaqualink"
|
||||
"ibeacon"
|
||||
"icloud"
|
||||
"idasen_desk"
|
||||
"ifttt"
|
||||
"ign_sismologia"
|
||||
"image"
|
||||
|
@ -5888,6 +5888,8 @@ self: super: with self; {
|
||||
|
||||
idasen = callPackage ../development/python-modules/idasen { };
|
||||
|
||||
idasen-ha = callPackage ../development/python-modules/idasen-ha { };
|
||||
|
||||
icoextract = toPythonModule (pkgs.icoextract.override {
|
||||
python3Packages = self;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user