Skip to content

Commit

Permalink
Merge pull request #234681 from fabaff/aioairzone-cloud
Browse files Browse the repository at this point in the history
python311Packages.aioairzone-cloud: init at 0.1.6
  • Loading branch information
fabaff authored May 30, 2023
2 parents 65d1da5 + 263d698 commit f02d95c
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
47 changes: 47 additions & 0 deletions pkgs/development/python-modules/aioairzone-cloud/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
, wheel
}:

buildPythonPackage rec {
pname = "aioairzone-cloud";
version = "0.1.6";
format = "pyproject";

disabled = pythonOlder "3.7";

src = fetchFromGitHub {
owner = "Noltari";
repo = "aioairzone-cloud";
rev = "refs/tags/${version}";
hash = "sha256-9VLjZaIru3FRZyovZ4j8ks7lNZOft2bwAzDodTdqjH0=";
};

nativeBuildInputs = [
setuptools
wheel
];

propagatedBuildInputs = [
aiohttp
];

pythonImportsCheck = [
"aioairzone_cloud"
];

# Module has no tests
doCheck = false;

meta = with lib; {
description = "Library to control Airzone via Cloud API";
homepage = "https://github.com/Noltari/aioairzone-cloud";
changelog = "https://github.com/Noltari/aioairzone-cloud/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ self: super: with self; {

aioairzone = callPackage ../development/python-modules/aioairzone { };

aioairzone-cloud = callPackage ../development/python-modules/aioairzone-cloud { };

aioairq = callPackage ../development/python-modules/aioairq { };

aioaladdinconnect = callPackage ../development/python-modules/aioaladdinconnect { };
Expand Down

0 comments on commit f02d95c

Please sign in to comment.