update packages

This commit is contained in:
mjallen18
2025-11-20 21:22:49 -06:00
parent aee0a4b34b
commit f5161b237a
10 changed files with 41 additions and 30 deletions

View File

@@ -1,14 +1,14 @@
{ python3Packages, fetchFromGitHub, ... }:
python3Packages.buildPythonPackage rec {
pname = "python-nanokvm";
version = "v0.0.3";
pname = "nanokvm";
version = "0.0.4";
format = "pyproject";
src = fetchFromGitHub {
owner = "puddly";
repo = pname;
rev = version;
sha256 = "sha256-jBBd+O3S/4AlxAhrF9j9Bi5vMKZNk0M17ok9JzcI8F8=";
repo = "python-${pname}";
rev = "v${version}";
sha256 = "sha256-L2Z4zZUbNQPrJVd0TGA5obB3tnd+Pk7HL5J+9WOAes0=";
};
buildInputs = with python3Packages; [

View File

@@ -8,7 +8,7 @@
python3Packages.buildPythonPackage rec {
pname = "python-roborock";
version = "2.39.0";
version = "3.8.0";
pyproject = true;
disabled = python3Packages.pythonOlder "3.11";
@@ -17,17 +17,15 @@ python3Packages.buildPythonPackage rec {
owner = "humbertogontijo";
repo = "python-roborock";
tag = "v${version}";
hash = "sha256-V0zuUlJ0wPpxOKtY7ydbJ7mhWT5xGSLv19csmpWCO1Q=";
hash = "sha256-Ts1X07eTv4KXv344F3fGazHlDx6XXGQfdmxb+gd/0qc=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "poetry-core==1.8.0" "poetry-core"
'';
pythonRelaxDeps = [ "pycryptodome" ];
build-system = with python3Packages; [ poetry-core ];
build-system = with python3Packages; [
poetry-core
hatchling
];
dependencies =
with python3Packages;
@@ -36,6 +34,7 @@ python3Packages.buildPythonPackage rec {
aiomqtt
async-timeout
click
click-shell
construct
dacite
paho-mqtt
@@ -51,6 +50,7 @@ python3Packages.buildPythonPackage rec {
freezegun
pytest-asyncio
pytestCheckHook
syrupy
];
pythonImportsCheck = [ "roborock" ];