update ha components
This commit is contained in:
45
packages/python/gehomesdk/default.nix
Normal file
45
packages/python/gehomesdk/default.nix
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "gehomesdk";
|
||||
version = "2025.11.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = python3Packages.pythonOlder "3.9";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-HS33yTE+3n0DKRD4+cr8zAE+xcW1ca7q8inQ7qwKJMA=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [ setuptools ];
|
||||
|
||||
dependencies = with python3Packages;[
|
||||
aiohttp
|
||||
beautifulsoup4
|
||||
bidict
|
||||
humanize
|
||||
lxml
|
||||
requests
|
||||
slixmpp
|
||||
websockets
|
||||
];
|
||||
|
||||
# Tests are not shipped and source is not tagged
|
||||
# https://github.com/simbaja/gehome/issues/32
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "gehomesdk" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python SDK for GE smart appliances";
|
||||
homepage = "https://github.com/simbaja/gehome";
|
||||
changelog = "https://github.com/simbaja/gehome/blob/master/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "gehome-appliance-data";
|
||||
};
|
||||
}
|
||||
@@ -1,14 +1,14 @@
|
||||
{ python3Packages, fetchFromGitHub, ... }:
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "nanokvm";
|
||||
version = "0.0.4";
|
||||
version = "0.1.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "puddly";
|
||||
repo = "python-${pname}";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-L2Z4zZUbNQPrJVd0TGA5obB3tnd+Pk7HL5J+9WOAes0=";
|
||||
sha256 = "sha256-vIxvQtjaInnWQce7syiOWpP2kaw0IVw03HPovnB2J5M=";
|
||||
};
|
||||
|
||||
buildInputs = with python3Packages; [
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "python-roborock";
|
||||
version = "3.8.0";
|
||||
version = "3.10.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = python3Packages.pythonOlder "3.11";
|
||||
@@ -17,7 +17,7 @@ python3Packages.buildPythonPackage rec {
|
||||
owner = "humbertogontijo";
|
||||
repo = "python-roborock";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Ts1X07eTv4KXv344F3fGazHlDx6XXGQfdmxb+gd/0qc=";
|
||||
hash = "sha256-iDypFBZe9hCoHdZjgDT56M8SgBiUomCIttMrFdhsN/k=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "pycryptodome" ];
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "pyvesync";
|
||||
version = "3.0.0b8";
|
||||
version = "3.3.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = python3Packages.pythonOlder "3.11";
|
||||
@@ -14,8 +14,8 @@ python3Packages.buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "webdjoe";
|
||||
repo = "pyvesync";
|
||||
rev = "dev-2.0";
|
||||
hash = "sha256-hJGlcszXD8EXNPppOUuBt9obtunhymlqIGAltkAuZjA=";
|
||||
rev = "3.3.3";
|
||||
hash = "sha256-T8cDp1C95gubCfgvkEiqHUn4Rw7pFNCPELo3qNwt9vI=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [ setuptools ];
|
||||
|
||||
Reference in New Issue
Block a user