python3Packages.oru: init at 0.2.3

This commit is contained in:
Jamie Magee 2025-08-17 22:29:29 -07:00
parent 627fcea102
commit a8fd684874
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{
lib,
buildPythonPackage,
fetchPypi,
pyotp,
pyppeteer,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "oru";
version = "0.2.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-wLD1v98Ez5rexQEvtR7XBiY40I8Lb2X9WzU9kcE5iVY=";
};
build-system = [ setuptools ];
dependencies = [
pyotp
pyppeteer
requests
];
doCheck = false;
pythonImportsCheck = [ "oru" ];
meta = {
description = "Python client for Orange and Rockland Utility smart energy meters";
homepage = "https://github.com/bvlaicu/oru";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.jamiemagee ];
};
}

View File

@ -11084,6 +11084,8 @@ self: super: with self; {
ortools = (toPythonModule (pkgs.or-tools.override { python3 = self.python; })).python;
oru = callPackage ../development/python-modules/oru { };
orvibo = callPackage ../development/python-modules/orvibo { };
oryx = callPackage ../development/python-modules/oryx { };