Unverified Commit c74ffd40 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #327176 from pyrox0/pythonpackages/pyaprilaire-init

python3Packages.pyaprilaire: init at 0.7.4
parents 31853569 3f8d5446
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  crc,
  setuptools,
  pytest-asyncio,
}:

buildPythonPackage rec {
  pname = "pyaprilaire";
  version = "0.7.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "chamberlain2007";
    repo = "pyaprilaire";
    rev = "refs/tags/${version}";
    hash = "sha256-+/yQO0JF2nkxaM71iNj6ODB8raM9s4qiLLi6/borcr4=";
  };

  build-system = [ setuptools ];

  dependencies = [ crc ];

  pythonImportsCheck = [ "pyaprilaire" ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-asyncio
  ];

  meta = {
    changelog = "https://github.com/chamberlain2007/pyaprilaire/releases/tag/${version}";
    description = "Python library for interacting with Aprilaire thermostats.";
    homepage = "https://github.com/chamberlain2007/pyaprilaire";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ pyrox0 ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -209,7 +209,8 @@
      apprise
    ];
    "aprilaire" = ps: with ps; [
    ]; # missing inputs: pyaprilaire
      pyaprilaire
    ];
    "aprs" = ps: with ps; [
      aprslib
      geopy
@@ -5266,6 +5267,7 @@
    "apple_tv"
    "application_credentials"
    "apprise"
    "aprilaire"
    "aprs"
    "aranet"
    "arcam_fmj"
+2 −0
Original line number Diff line number Diff line
@@ -9928,6 +9928,8 @@ self: super: with self; {
  psrpcore = callPackage ../development/python-modules/psrpcore { };
  pyaprilaire = callPackage ../development/python-modules/pyaprilaire { };
  pybars3 = callPackage ../development/python-modules/pybars3 { };
  pymeta3 = callPackage ../development/python-modules/pymeta3 { };