Commit 78a1321b authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent da3499fe
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
{
  lib,
  aiohttp,
  aiozoneinfo,
  arrow,
  buildPythonPackage,
  fetchFromGitHub,
  pyotp,
  pytestCheckHook,
  python-dotenv,
  pytestCheckHook,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "opower";
  version = "0.4.5";
  version = "0.4.6";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -22,19 +23,22 @@ buildPythonPackage rec {
    owner = "tronikos";
    repo = "opower";
    rev = "refs/tags/v${version}";
    hash = "sha256-PBxxLbVOvJSFmDXgKeI5sICUR7NJGUEUUahK9eBsvbE=";
    hash = "sha256-Q+BycHN83oD2yJz+jsYRjSdswYVHA7fJPwpWtNsmi9M=";
  };

  build-system = [ setuptools ];

  dependencies = [
    aiohttp
    aiozoneinfo
    arrow
    pyotp
    python-dotenv
  ];

  nativeCheckInputs = [ pytestCheckHook ];
  nativeCheckInputs = [
    pytestCheckHook
    python-dotenv
  ];

  pythonImportsCheck = [ "opower" ];