Commit 44bee06d authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent b99bc1d7
Loading
Loading
Loading
Loading
+2 −18
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@

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

  disabled = pythonOlder "3.7";
@@ -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
  ];
@@ -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";