Commit e3f28575 authored by Robert Schütz's avatar Robert Schütz
Browse files

python311Packages.py-aosmith: init at 1.0.6

parent 9571c47f
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, poetry-core
, aiohttp
}:

buildPythonPackage rec {
  pname = "py-aosmith";
  version = "1.0.6";
  pyproject = true;

  disabled = pythonOlder "3.10";

  src = fetchFromGitHub {
    owner = "bdr99";
    repo = "py-aosmith";
    rev = "refs/tags/${version}";
    hash = "sha256-4KODe+urqYMbN0+tNwQnvO3A9Zc/Xdo4uhJErn3BYS4=";
  };

  nativeBuildInputs = [
    poetry-core
  ];

  propagatedBuildInputs = [
    aiohttp
  ];

  pythonImportsCheck = [ "py_aosmith" ];

  # upstream has no tests
  doCheck = false;

  meta = {
    description = "Python client library for A. O. Smith water heaters";
    homepage = "https://github.com/bdr99/py-aosmith";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -8567,6 +8567,8 @@ self: super: with self; {
  python-youtube = callPackage ../development/python-modules/python-youtube { };
  py-aosmith = callPackage ../development/python-modules/py-aosmith { };
  py-deprecate = callPackage ../development/python-modules/py-deprecate { };
  py-ecc = callPackage ../development/python-modules/py-ecc { };