mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
python3Packages.pystiebeleltron: init at 0.2.3
This commit is contained in:
42
pkgs/development/python-modules/pystiebeleltron/default.nix
Normal file
42
pkgs/development/python-modules/pystiebeleltron/default.nix
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
pymodbus,
|
||||
pytestCheckHook,
|
||||
pytest-asyncio,
|
||||
pytest-mock,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pystiebeleltron";
|
||||
version = "0.2.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ThyMYthOS";
|
||||
repo = "python-stiebel-eltron";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-vJo9fjtbGuWJ1JcK6u0Cnol1Ev3eobD14YjH+S256og=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [ pymodbus ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
pytest-mock
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pystiebeleltron" ];
|
||||
|
||||
meta = {
|
||||
description = "Python API for interacting with the Stiebel Eltron ISG web gateway via Modbus";
|
||||
homepage = "https://github.com/ThyMYthOS/python-stiebel-eltron";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
}
|
||||
@@ -14086,6 +14086,8 @@ self: super: with self; {
|
||||
|
||||
pystemmer = callPackage ../development/python-modules/pystemmer { };
|
||||
|
||||
pystiebeleltron = callPackage ../development/python-modules/pystiebeleltron { };
|
||||
|
||||
pystray = callPackage ../development/python-modules/pystray { };
|
||||
|
||||
pysubs2 = callPackage ../development/python-modules/pysubs2 { };
|
||||
|
||||
Reference in New Issue
Block a user