python3Packages.oru: init at 0.2.3 (#434640)

This commit is contained in:
Martin Weinelt 2025-08-19 04:14:09 +02:00 committed by GitHub
commit ecfc95f0db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 43 additions and 1 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

@ -4292,7 +4292,8 @@
];
"oru" =
ps: with ps; [
]; # missing inputs: oru
oru
];
"oru_opower" =
ps: with ps; [
];

View File

@ -11088,6 +11088,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 { };