mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
python3Packages.aioeagle: init at 1.1.0
This commit is contained in:
parent
d9de842f58
commit
9aa5c090c6
2 changed files with 41 additions and 0 deletions
39
pkgs/development/python-modules/aioeagle/default.nix
Normal file
39
pkgs/development/python-modules/aioeagle/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, xmltodict
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioeagle";
|
||||
version = "1.1.0";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "117nb50cxwrixif2r6fxmr9v0jxkcamm816v48hbhyc660w6xvk4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
xmltodict
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "aioeagle" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to control EAGLE-200";
|
||||
homepage = "https://github.com/home-assistant-libs/aioeagle";
|
||||
changelog = "https://github.com/home-assistant-libs/aioshelly/releases/tag/${version}";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -265,6 +265,8 @@ in {
|
|||
|
||||
aioeafm = callPackage ../development/python-modules/aioeafm { };
|
||||
|
||||
aioeagle = callPackage ../development/python-modules/aioeagle { };
|
||||
|
||||
aioemonitor = callPackage ../development/python-modules/aioemonitor { };
|
||||
|
||||
aioesphomeapi = callPackage ../development/python-modules/aioesphomeapi { };
|
||||
|
|
Loading…
Reference in a new issue