mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 06:44:06 +00:00
python3Packages.apsystems-ez1: init at 1.3.3
This commit is contained in:
parent
4e9a608c11
commit
4b42512dc9
41
pkgs/development/python-modules/apsystems-ez1/default.nix
Normal file
41
pkgs/development/python-modules/apsystems-ez1/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
aiohttp,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apsystems-ez1";
|
||||
version = "1.3.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SonnenladenGmbH";
|
||||
repo = "APsystems-EZ1-API";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-V6GcTSupjhjGEOsO+C9pImYJRnvdDbttW3Zh0PDYt5I=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [ aiohttp ];
|
||||
|
||||
pythonImportsCheck = [ "APsystemsEZ1" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/SonnenladenGmbH/APsystems-EZ1-API/releases/tag/${version}";
|
||||
description = "Streamlined interface for interacting with the local API of APsystems EZ1 Microinverters.";
|
||||
homepage = "https://github.com/SonnenladenGmbH/APsystems-EZ1-API";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ pyrox0 ];
|
||||
};
|
||||
}
|
@ -701,6 +701,8 @@ self: super: with self; {
|
||||
|
||||
apscheduler = callPackage ../development/python-modules/apscheduler { };
|
||||
|
||||
apsystems-ez1 = callPackage ../development/python-modules/apsystems-ez1 { };
|
||||
|
||||
apsw = callPackage ../development/python-modules/apsw { };
|
||||
|
||||
apycula = callPackage ../development/python-modules/apycula { };
|
||||
|
Loading…
Reference in New Issue
Block a user