python3Packages.earn-e-p1: init at 0.1.0 (#518588)
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "earn-e-p1";
|
||||
version = "0.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Miggets7";
|
||||
repo = "earn-e-p1";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-a76+slVhZj6AQIDCcaEym3G6DjIsQQLfi13wIsYGkjA=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "earn_e_p1" ];
|
||||
|
||||
meta = {
|
||||
description = "Async Python library for communicating with EARN-E P1 energy meters via UDP";
|
||||
homepage = "https://github.com/Miggets7/earn-e-p1";
|
||||
changelog = "https://github.com/Miggets7/earn-e-p1/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
})
|
||||
@@ -1451,7 +1451,8 @@
|
||||
];
|
||||
"earn_e_p1" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: earn-e-p1
|
||||
earn-e-p1
|
||||
];
|
||||
"eastron" =
|
||||
ps: with ps; [
|
||||
];
|
||||
@@ -7653,6 +7654,7 @@
|
||||
"dwd_weather_warnings"
|
||||
"dynalite"
|
||||
"eafm"
|
||||
"earn_e_p1"
|
||||
"easyenergy"
|
||||
"ecobee"
|
||||
"ecoforest"
|
||||
|
||||
@@ -4865,6 +4865,8 @@ self: super: with self; {
|
||||
|
||||
eagle100 = callPackage ../development/python-modules/eagle100 { };
|
||||
|
||||
earn-e-p1 = callPackage ../development/python-modules/earn-e-p1 { };
|
||||
|
||||
easy-thumbnails = callPackage ../development/python-modules/easy-thumbnails { };
|
||||
|
||||
easydict = callPackage ../development/python-modules/easydict { };
|
||||
|
||||
Reference in New Issue
Block a user