Unverified Commit 01418af3 authored by Emily's avatar Emily Committed by GitHub
Browse files

Merge pull request #336587 from emilazy/push-okstvzltlout

ledger-autosync: 1.0.3 -> 1.2.0
parents 7b05bca6 195f0709
Loading
Loading
Loading
Loading
+2 −22
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@

python3Packages.buildPythonApplication rec {
  pname = "ledger-autosync";
  version = "1.0.3";
  version = "1.2.0";
  pyproject = true;

  # no tests included in PyPI tarball
@@ -17,22 +17,9 @@ python3Packages.buildPythonApplication rec {
    owner = "egh";
    repo = "ledger-autosync";
    rev = "v${version}";
    hash = "sha256-IuOlVJEjNqRPfV4q/Zy3UQe5iMwDlnSV356FrTsmflg=";
    hash = "sha256-bbFjDdxYr85OPjdvY3JYtCe/8Epwi+8JN60PKVKbqe0=";
  };

  patches = [
    (fetchpatch2 {
      name = "drop-distutils.patch";
      url = "https://github.com/egh/ledger-autosync/commit/b7a2a185b9c3b17764322dcc80153410d12e6a5f.patch";
      hash = "sha256-qKuTpsNFuS00yRAH4VGpMA249ml0BGZsGVb75WrBWEo=";
    })
    (fetchpatch2 {
      name = "drop-imp.patch";
      url = "https://github.com/egh/ledger-autosync/commit/453d92ad279e6c90fadf835d1c39189a1179eb17.patch";
      hash = "sha256-mncMvdWldAnVDy1+bJ+oyDOrUb14v9LrBRz/CYrtYbc=";
    })
  ];

  build-system = with python3Packages; [ poetry-core ];

  dependencies = with python3Packages; [
@@ -47,13 +34,6 @@ python3Packages.buildPythonApplication rec {
    python3Packages.pytestCheckHook
  ];

  # Disable some non-passing tests:
  # https://github.com/egh/ledger-autosync/issues/127
  disabledTests = [
    "test_payee_match"
    "test_args_only"
  ];

  meta = with lib; {
    homepage = "https://github.com/egh/ledger-autosync";
    changelog = "https://github.com/egh/ledger-autosync/releases/tag/v${version}";