diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/hahomematic/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/hahomematic/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/hahomematic/default.nix b/nixpkgs/pkgs/development/python-modules/hahomematic/default.nix index 9a3d67da9973..97a7a55b26a4 100644 --- a/nixpkgs/pkgs/development/python-modules/hahomematic/default.nix +++ b/nixpkgs/pkgs/development/python-modules/hahomematic/default.nix @@ -2,6 +2,7 @@ , aiohttp , buildPythonPackage , fetchFromGitHub +, freezegun , orjson , pydevccu , pytest-aiohttp @@ -17,7 +18,7 @@ buildPythonPackage rec { pname = "hahomematic"; - version = "2023.9.3"; + version = "2023.10.12"; format = "pyproject"; disabled = pythonOlder "3.11"; @@ -26,9 +27,15 @@ buildPythonPackage rec { owner = "danielperna84"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-j8uM/vEfZO1C4jsYU68nTt/cmhRKsW2MTFG84g53vE4="; + hash = "sha256-mlZlaUcpVflz1mTiI0rIAOnJD5+NqXjsb1xp+wvoQvs="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace "setuptools~=68.2" "setuptools" \ + --replace "wheel~=0.41.2" "wheel" + ''; + nativeBuildInputs = [ setuptools wheel @@ -42,6 +49,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + freezegun pydevccu pytest-aiohttp pytestCheckHook |