Merge pull request #136936 from fabaff/aioeagle
This commit is contained in:
commit
c661d238b3
3 changed files with 79 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 ];
|
||||
};
|
||||
}
|
36
pkgs/development/python-modules/ueagle/default.nix
Normal file
36
pkgs/development/python-modules/ueagle/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue