Merge pull request #136936 from fabaff/aioeagle

This commit is contained in:
Sandro 2021-09-11 17:03:18 +02:00 committed by GitHub
commit c661d238b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 79 additions and 0 deletions

View 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 ];
};
}

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "ueagle";
version = "0.0.2";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jcalbert";
repo = "uEagle";
rev = version;
sha256 = "1hxwk5alalvmhc31y917dxsnbiwq1xci2krma3235581319xr3w7";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "uEagle" ];
meta = with lib; {
description = "Python library Rainforest EAGLE devices";
homepage = "https://github.com/jcalbert/uEagle";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -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 { };
@ -9092,6 +9094,8 @@ in {
ufoprocessor = callPackage ../development/python-modules/ufoprocessor { };
ueagle = callPackage ../development/python-modules/ueagle { };
ujson = callPackage ../development/python-modules/ujson { };
ukpostcodeparser = callPackage ../development/python-modules/ukpostcodeparser { };