Commit d57b7c38 authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent 3be88f5d
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -7,29 +7,31 @@
  pytest-asyncio,
  pytestCheckHook,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "incomfort-client";
  version = "0.5.0";
  format = "setuptools";
  version = "0.6.1";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "zxdavb";
    repo = pname;
    rev = "refs/tags/${version}";
    repo = "incomfort-client";
    rev = "refs/tags/v${version}";
    hash = "sha256-kdPue3IfF85O+0dgvX+dN6S4WoQmjxdCfwfv83SnO8E=";
  };

  propagatedBuildInputs = [ aiohttp ];
  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];
  dependencies = [ aiohttp ];

  checkInputs = [
  nativeCheckInputs = [
    aioresponses
    pytest-asyncio
    pytestCheckHook
  ];

  pythonImportsCheck = [ "incomfortclient" ];
@@ -37,6 +39,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Python module to poll Intergas boilers via a Lan2RF gateway";
    homepage = "https://github.com/zxdavb/incomfort-client";
    changelog = "https://github.com/jbouwh/incomfort-client/releases/tag/v${version}";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };