Unverified Commit 82ead414 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #259537 from fabaff/anthemav

python311Packages.anthemav: init at 1.4.2
parents 6608bc83 1015d517
Loading
Loading
Loading
Loading
+46 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
, wheel
}:

buildPythonPackage rec {
  pname = "anthemav";
  version = "1.4.2";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "nugget";
    repo = "python-anthemav";
    rev = "refs/tags/v${version}";
    hash = "sha256-ZjAt4oODx09Qij0PwBvLCplSjwdBx2fReiwjmKhdPa0=";
  };

  nativeBuildInputs = [
    setuptools
    wheel
  ];

  nativeCheckInputs = [
    pytest-asyncio
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "anthemav"
  ];

  meta = with lib; {
    description = "Python asyncio module to interface with Anthem AVM and MRX receivers";
    homepage = "https://github.com/nugget/python-anthemav";
    changelog = "https://github.com/nugget/python-anthemav/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -162,7 +162,8 @@
    "anova" = ps: with ps; [
    ]; # missing inputs: anova-wifi
    "anthemav" = ps: with ps; [
    ]; # missing inputs: anthemav
      anthemav
    ];
    "anwb_energie" = ps: with ps; [
    ];
    "apache_kafka" = ps: with ps; [
@@ -5022,6 +5023,7 @@
    "android_ip_webcam"
    "androidtv"
    "androidtv_remote"
    "anthemav"
    "apache_kafka"
    "apcupsd"
    "api"
+2 −0
Original line number Diff line number Diff line
@@ -572,6 +572,8 @@ self: super: with self; {
  ansiwrap = callPackage ../development/python-modules/ansiwrap { };
  anthemav = callPackage ../development/python-modules/anthemav { };
  anthropic = callPackage ../development/python-modules/anthropic { };
  antlr4-python3-runtime = callPackage ../development/python-modules/antlr4-python3-runtime {