python3Packages.pysolarmanv5: init at 3.0.6
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user