python3Packages.pysolarmanv5: init at 3.0.6

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu
2025-07-22 21:43:27 +02:00
parent 040f48ff44
commit 65a423451e
2 changed files with 46 additions and 0 deletions
@@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
setuptools,
umodbus,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pysolarmanv5";
version = "3.0.6";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "jmccrohan";
repo = "pysolarmanv5";
tag = "v${version}";
hash = "sha256-ENEXuMQGQ1Jwgpfp2v0T2dveTJoIaVu+DfefQZy8ntE=";
};
build-system = [
setuptools
];
dependencies = [
umodbus
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pysolarmanv5" ];
meta = {
description = "Python module to interact with Solarman Data Logging Sticks";
changelog = "https://github.com/jmccrohan/pysolarmanv5/blob/${src.tag}/CHANGELOG.md";
homepage = "https://github.com/jmccrohan/pysolarmanv5";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ Scrumplex ];
};
}
+2
View File
@@ -13945,6 +13945,8 @@ self: super: with self; {
pysol-cards = callPackage ../development/python-modules/pysol-cards { };
pysolarmanv5 = callPackage ../development/python-modules/pysolarmanv5 { };
pysolcast = callPackage ../development/python-modules/pysolcast { };
pysolr = callPackage ../development/python-modules/pysolr { };