Skip to content

Commit

Permalink
python311Packages.aiopvapi: 3.0.1 -> 3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Feb 16, 2024
1 parent b99bc1d commit 44bee06
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions pkgs/development/python-modules/aiopvapi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

buildPythonPackage rec {
pname = "aiopvapi";
version = "3.0.1";
version = "3.0.2";
pyproject = true;

disabled = pythonOlder "3.7";
Expand All @@ -18,15 +18,9 @@ buildPythonPackage rec {
owner = "sander76";
repo = "aio-powerview-api";
rev = "refs/tags/v${version}";
hash = "sha256-+jhfp8gLEmL8TGPPN7QY8lw1SkV4sMSDb4VSq2OJ6PU=";
hash = "sha256-NfSGu4M0NWfCDc37zRwUjYtZz5jOtw3pYgF6fIsB/Yo=";
};

postPatch = ''
# https://github.com/sander76/aio-powerview-api/pull/31
substituteInPlace setup.py \
--replace '"asyncio", ' ""
'';

nativeBuildInputs = [
setuptools
];
Expand All @@ -43,16 +37,6 @@ buildPythonPackage rec {
"aiopvapi"
];

disabledTestPaths = [
# https://github.com/sander76/aio-powerview-api/issues/32
"tests/test_shade.py"
"tests/test_scene.py"
"tests/test_room.py"
"tests/test_apiresource.py"
"tests/test_hub.py"
"tests/test_scene_members.py"
];

meta = with lib; {
description = "Python API for the PowerView API";
homepage = "https://github.com/sander76/aio-powerview-api";
Expand Down

0 comments on commit 44bee06

Please sign in to comment.