python312Packages.riden: init at 1.2.1

Module for Riden RD power supplies

https://github.com/geeksville/riden
This commit is contained in:
Fabian Affolter 2024-08-06 16:24:35 +02:00
parent 9ff53b879e
commit 3d247dae22
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,50 @@
{
lib,
buildPythonPackage,
click,
fetchFromGitHub,
modbus-tk,
poetry-core,
pyserial,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "riden";
version = "1.2.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "geeksville";
repo = "riden";
rev = "refs/tags/${version}";
hash = "sha256-uR1CsVsGn/QC4krHaxl6GqRnTPbFdRaqyMEl2RVMHPU=";
};
build-system = [
poetry-core
setuptools
];
dependencies = [
click
modbus-tk
pyserial
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "riden" ];
meta = with lib; {
description = "Module for Riden RD power supplies";
homepage = "https://github.com/geeksville/riden";
changelog = "https://github.com/geeksville/Riden/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -13682,6 +13682,8 @@ self: super: with self; {
rich-theme-manager = callPackage ../development/python-modules/rich-theme-manager { };
riden = callPackage ../development/python-modules/riden { };
ring-doorbell = callPackage ../development/python-modules/ring-doorbell { };
rio-tiler = callPackage ../development/python-modules/rio-tiler { };