Unverified Commit 4999712c authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.typedmonarchmoney: init at 0.4.4 (#431927)

parents 281a67b4 d1b14291
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  aiohttp,
  gql,
  oathtool,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "monarchmoney";
  version = "0.1.15";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "hammem";
    repo = "monarchmoney";
    tag = "v${version}";
    hash = "sha256-I5YCINwJqzdntVGn8T8Yx/cfWOtwgwvyt30swBLQHDo=";
  };

  build-system = [ setuptools ];

  dependencies = [
    aiohttp
    gql
    oathtool
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "monarchmoney" ];

  meta = {
    description = "Python API for Monarch Money";
    homepage = "https://github.com/hammem/monarchmoney";
    changelog = "https://github.com/hammem/monarchmoney/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}
+46 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  setuptools-scm,
  autocommand,
  importlib-resources,
  path,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "oathtool";
  version = "2.4.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jaraco";
    repo = "oathtool";
    tag = "v${version}";
    hash = "sha256-Qa4/fVa7Ws8t42MxZpEVKI7Wyux/uN77VP0JBnrmgq0=";
  };

  build-system = [
    setuptools
    setuptools-scm
  ];

  dependencies = [
    autocommand
    path
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "oathtool" ];

  meta = {
    description = "One-time password generator";
    homepage = "https://github.com/jaraco/oathtool";
    changelog = "https://github.com/jaraco/oathtool/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}
+41 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  monarchmoney,
  rich,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "typedmonarchmoney";
  version = "0.4.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jeeftor";
    repo = "monarchmoney-typed";
    tag = "v${version}";
    hash = "sha256-AM6d7oecKf5aG8zO3I6BGY3/rgtrdzNabCwX8AOlEs4=";
  };

  build-system = [ poetry-core ];

  dependencies = [
    monarchmoney
    rich
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "typedmonarchmoney" ];

  meta = {
    description = "Typed wrapper around the Monarch Money API";
    homepage = "https://github.com/jeeftor/monarchmoney-typed";
    changelog = "https://github.com/jeeftor/monarchmoney-typed/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -3699,7 +3699,8 @@
      ];
    "monarch_money" =
      ps: with ps; [
      ]; # missing inputs: typedmonarchmoney
        typedmonarchmoney
      ];
    "monessen" =
      ps: with ps; [
      ];
@@ -7357,6 +7358,7 @@
    "modem_callerid"
    "modern_forms"
    "mold_indicator"
    "monarch_money"
    "monoprice"
    "monzo"
    "moon"
+6 −0
Original line number Diff line number Diff line
@@ -9455,6 +9455,8 @@ self: super: with self; {
  monai-deploy = callPackage ../development/python-modules/monai-deploy { };
  monarchmoney = callPackage ../development/python-modules/monarchmoney { };
  monero = callPackage ../development/python-modules/monero { };
  mongodict = callPackage ../development/python-modules/mongodict { };
@@ -10575,6 +10577,8 @@ self: super: with self; {
  oath = callPackage ../development/python-modules/oath { };
  oathtool = callPackage ../development/python-modules/oathtool { };
  oauth2-client = callPackage ../development/python-modules/oauth2-client { };
  oauth2client = callPackage ../development/python-modules/oauth2client { };
@@ -18520,6 +18524,8 @@ self: super: with self; {
  typed-settings = callPackage ../development/python-modules/typed-settings { };
  typedmonarchmoney = callPackage ../development/python-modules/typedmonarchmoney { };
  typedunits = callPackage ../development/python-modules/typedunits { };
  typeguard = callPackage ../development/python-modules/typeguard { };