Unverified Commit ecfc95f0 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.oru: init at 0.2.3 (#434640)

parents d31f96b1 7ea4c220
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −1
Original line number Diff line number Diff line
@@ -4292,7 +4292,8 @@
      ];
    "oru" =
      ps: with ps; [
      ]; # missing inputs: oru
        oru
      ];
    "oru_opower" =
      ps: with ps; [
      ];
+2 −0
Original line number Diff line number Diff line
@@ -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 { };